Check for existence of the results directory before invoking mkdir.
authorThomas G. Lockhart <lockhart@alumni.caltech.edu>
Sat, 11 Nov 2000 19:56:20 +0000 (19:56 +0000)
committerThomas G. Lockhart <lockhart@alumni.caltech.edu>
Sat, 11 Nov 2000 19:56:20 +0000 (19:56 +0000)
src/test/regress/regress.sh

index 6557197e67db50e0acb5157f9821407d7e7ee174..b12d9cc3bd6674014ce654acc7eafcaf7f46b2ff 100755 (executable)
@@ -66,7 +66,7 @@ if [ -d ./obj ]; then
        cd ./obj
 fi
 
-mkdir results
+[ -d results ] || mkdir results
 
 echo "=============== Notes...                              ================="
 echo "postmaster must already be running for the regression tests to succeed."