diff options
author | Yang Guo <yangguo@chromium.org> | 2018-01-08 16:31:07 +0100 |
---|---|---|
committer | Yang Guo <yangguo@chromium.org> | 2018-01-11 07:52:21 +0100 |
commit | a2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88 (patch) | |
tree | 7f2fbcb646229b4ccccdaeaeb4d2a0196bb2ace1 /tools/eslint/node_modules/lodash/_createBaseEach.js | |
parent | 315d1f553de9c1c5cf0ab9ee2623b5420bee8a09 (diff) | |
download | android-node-v8-a2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88.tar.gz android-node-v8-a2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88.tar.bz2 android-node-v8-a2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88.zip |
build: fix Makefile wrt finding node executable
Not all shells set PWD, so use CURDIR instead.
`which node` may return the empty string, so guard against
that too. Consider:
if [ -x `which velociraptor` ] && [ -e `which velociprator` ];\
then echo "run"; else echo "keep calm"; fi;
PR-URL: https://github.com/nodejs/node/pull/18040
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'tools/eslint/node_modules/lodash/_createBaseEach.js')
0 files changed, 0 insertions, 0 deletions