create tmp dir only if it does already exist
Costa Tsaousis (ktsaou) committed
Mar 27, 2017 at 00:58 UTC
53ab0a3f36c040d6dc7a9c3630c7e509608e1afe
1 file changed
+4
-1
makeself/build.sh
+4
-1
@@ -46,7 +46,10 @@ EOF
46
47
read "Press ENTER to continue > "
48
49
-mkdir tmp || exit 1
49
+if [ ! -d tmp ]
50
+ then
51
+ mkdir tmp || exit 1
52
+fi
53
54
./run-all-jobs.sh "$@"
55
exit $?