diff --git a/flang/test/semantics/test_errors.sh b/flang/test/semantics/test_errors.sh index 07ad77686feb..3d461d44b06f 100755 --- a/flang/test/semantics/test_errors.sh +++ b/flang/test/semantics/test_errors.sh @@ -30,7 +30,7 @@ case $1 in esac [[ ! -f $src ]] && echo "File not found: $src" && exit 1 -temp=`mktemp -d -p .` +temp=`mktemp -d ./tmp.XXXXXX` [[ $KEEP ]] || trap "rm -rf $temp" EXIT log=$temp/log