From a291e166799c68f875333a919d76e78bcce93b84 Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Fri, 30 Aug 2013 05:09:24 +0400 Subject: [PATCH] tests/subr.sh: Fix sed invocation for Solaris. --- tests/subr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/subr.sh b/tests/subr.sh index 8980035..2b63144 100644 --- a/tests/subr.sh +++ b/tests/subr.sh @@ -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 -- 1.7.10.4