From: Maxim Mamontov Date: Sat, 25 Oct 2014 01:53:27 +0000 (+0300) Subject: Portable mkdir. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/668e4a697bab5faa6a78e9708cff8bb1d4a36241?hp=673dfbb28627fea0836a71dc8cf8194428d9313b Portable mkdir. --- diff --git a/functest/do.sh b/functest/do.sh index a007aa9b..652dbcec 100755 --- a/functest/do.sh +++ b/functest/do.sh @@ -4,7 +4,7 @@ MKTEMP=/usr/bin/mktemp RM=/bin/rm printf "Creating temporary dir... " -DIR=`$MKTEMP -d` +DIR=`$MKTEMP -d 2> /dev/null || $MKTEMP -d -t stg` if [ "$DIR" == "" ] then