tests/subr.sh: Fix sed invocation for Solaris.
authorStas Boukarev <stassats@gmail.com>
Fri, 30 Aug 2013 01:09:24 +0000 (05:09 +0400)
committerStas Boukarev <stassats@gmail.com>
Fri, 30 Aug 2013 01:09:24 +0000 (05:09 +0400)
tests/subr.sh

index 8980035..2b63144 100644 (file)
@@ -33,7 +33,7 @@ SBCL_ARGS="${TEST_SBCL_ARGS:---noinform --no-sysinit --no-userinit --noprint --d
 
 # Scripts that use these variables should quote them.
 TEST_BASENAME="`basename $0`"
-TEST_FILESTEM="$(basename "${TEST_BASENAME}" | sed 's/\.sh$// ; s/\./-/g')"
+TEST_FILESTEM="$(basename "${TEST_BASENAME}" | sed -e 's/\.sh$//' -e 's/\./-/g')"
 : ${TEST_BASEDIR:="$SBCL_PWD"}
 TEST_DIRECTORY="${TEST_BASEDIR}/${TEST_FILESTEM}-$$"
 export TEST_DIRECTORY