Skip to content

Commit dca0a54

Browse files
committed
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

Lines changed: 4 additions & 2 deletions
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)
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