Skip to content

Commit dca0a54

Browse files
committedDec 30, 2011
Modify tools/pgtest to run the 'make' command from a variable, and default
to 'make' rather than 'gmake' for the binary name.
1 parent 15ba590 commit dca0a54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎src/tools/pgtest

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
# have enough kernel resources to run two postmasters or
99
# stop your main postmaster before running this script.
1010
#
11-
# Use -n to prevent 'gmake clean'
11+
# Use -n to prevent 'make clean'
12+
13+
MAKE="make"
1214

1315
[ ! -d src ] && echo "This must be run from the top of the PostgreSQL source tree" 1>&2 && exit 1
1416

@@ -18,7 +20,7 @@ TMP="/tmp/$$"
1820

1921
[ "X$1" != "X-n" ] && PGCLEAN=clean
2022

21-
(gmake $PGCLEAN check 2>&1; echo "$?" > $TMP/ret) |
23+
($MAKE $PGCLEAN check 2>&1; echo "$?" > $TMP/ret) |
2224
(tee $TMP/0; exit `cat $TMP/ret`) &&
2325
cat $TMP/0 |
2426
# The following grep's have to be adjusted for your setup because

0 commit comments

Comments
 (0)
Please sign in to comment.