diff options
-rwxr-xr-x | Test/ztst.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 8ee60fd58..181148c2b 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -45,7 +45,7 @@ ZTST_testname=$1 # The source directory is not necessarily the current directory ZTST_srcdir=${0%/*} -[[ ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir" +[[ $ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir" : ${TMPPREFIX:=/tmp/zsh} # Temporary files for redirection inside tests. |