From 1e840469ac605f69e41699f30b93b6bab882a61f Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 21 Sep 2005 11:21:45 +0000 Subject: [PATCH] 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 --- testsuite/run_tests.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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) -- 2.20.1