Fix on Solaris by accounting for /bin/sh there.
[sbcl.git] / tests / script.test.sh
index 6adfcf0..b209d96 100644 (file)
@@ -114,7 +114,7 @@ fi
 echo '(format t "Hello, Fasl~%")' > $tmpscript
 run_sbcl --eval "(compile-file \"$tmpscript\" :output-file \"$tmpfasl\")"  </dev/null >/dev/null
 chmod +x $tmpfasl
-SBCL_HOME=$(dirname $SBCL_CORE) ./$tmpfasl >$tmpout 2>$tmperr
+SBCL_HOME=`dirname $SBCL_CORE` ./$tmpfasl >$tmpout 2>$tmperr
 check_status_maybe_lose "--script exit status from fasl" $? 0 "(ok)"
 if [ -s $tmperr ] || [ "Hello, Fasl" != "`cat $tmpout`" ]
 then