Skip to content

Commit a669bd7

Browse files
author
Thomas G. Lockhart
committed
Check for existence of the results directory before invoking mkdir.
1 parent 17d6324 commit a669bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/regress/regress.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.55 2000/10/07 14:55:16 momjian Exp $
2+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.56 2000/11/11 19:56:20 thomas Exp $
33
#
44
if [ $# -eq 0 ]; then
55
echo "Syntax: $0 <hostname> [extra-tests]"
@@ -66,7 +66,7 @@ if [ -d ./obj ]; then
6666
cd ./obj
6767
fi
6868

69-
mkdir results
69+
[ -d results ] || mkdir results
7070

7171
echo "=============== Notes... ================="
7272
echo "postmaster must already be running for the regression tests to succeed."

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy