Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraisinten <raisinten@gmail.com>2020-11-14 18:20:03 +0300
committerShelley Vohr <shelley.vohr@gmail.com>2020-11-23 00:15:59 +0300
commitfcc38a131292e77733eb8c5a6ef1456ddacdda85 (patch)
tree45b2dfc561ccada747f1c389cb76d490705b69a4 /BSDmakefile
parent1a4d43f840968305e9a1271278463f473cbc9fd3 (diff)
build: replace which with command -v
PR-URL: https://github.com/nodejs/node/pull/36118 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'BSDmakefile')
-rw-r--r--BSDmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/BSDmakefile b/BSDmakefile
index b2f36fa2872..3994ab9efd9 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -3,7 +3,7 @@ FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
all: .DEFAULT
.DEFAULT:
- @which gmake > /dev/null 2>&1 ||\
+ @command -v gmake > /dev/null 2>&1 ||\
(echo "GMake is required for node.js to build.\
Install and try again" && exit 1)
@gmake ${.FLAGS} ${.TARGETS}