Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let the hack to make solaris happy work even when bash is not installed, and when...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Sep 2005 11:21:45 +0000 (11:21 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Sep 2005 11:21:45 +0000 (11:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1728 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/run_tests.in

index 313e2a8..27fcd51 100755 (executable)
@@ -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)