From: mquinson Date: Wed, 21 Sep 2005 11:21:45 +0000 (+0000) Subject: Let the hack to make solaris happy work even when bash is not installed, and when... X-Git-Tag: v3.3~3629 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1e840469ac605f69e41699f30b93b6bab882a61f?hp=a4845f008b859b5d4959d02ecef841b8db4ae9f0 Let the hack to make solaris happy work even when bash is not installed, and when /bin/sh points to a *really* old shell not setting $SHELL correctly git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1728 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/testsuite/run_tests.in b/testsuite/run_tests.in index 313e2a83eb..27fcd51335 100755 --- a/testsuite/run_tests.in +++ b/testsuite/run_tests.in @@ -10,8 +10,13 @@ tests_nb=0 rm -f test.failed test.success test.ignored -# Work around a libtool issue on solaris -export LD_LIBRARY_PATH=@top_srcdir@/src/.libs +# Work around a libtool issue on solaris, making sure that it works even on sh older than tcsh +LD_LIBRARY_PATH=@top_srcdir@/src/.libs +if export LD_LIBRARY_PATH ; then + : +else + setenv LD_LIBRARY_PATH @top_srcdir@/src/.libs +fi ## ## Args parsing (simplistic for now)