From 668e4a697bab5faa6a78e9708cff8bb1d4a36241 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 25 Oct 2014 04:53:27 +0300 Subject: [PATCH] Portable mkdir. --- functest/do.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.2