We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c42b2 commit 774c8feCopy full SHA for 774c8fe
tools/make-v8.sh
@@ -8,9 +8,9 @@ V8_BUILD_OPTIONS=$2
8
# Python 3 may have been symlinked as `python` in an override directory by
9
# configure.py and added to PATH. Strip this out of PATH to avoid interfering
10
# with V8's build toolchain.
11
-OVERRIDE_BIN_DIR="$(cd out/tools/bin 2>/dev/null && pwd || true)"
+OVERRIDE_BIN_DIR="$(cd out/tools/bin 2>/dev/null && pwd)"
12
if [ -n "$OVERRIDE_BIN_DIR" ]; then
13
- PATH=`echo $PATH | tr ":" "\n" | grep -v "^$OVERRIDE_BIN_DIR$" | tr "\n" ":"`
+ PATH=`echo "$PATH" | tr ":" "\n" | grep -v "^$OVERRIDE_BIN_DIR$" | tr "\n" ":"`
14
fi
15
16
cd deps/v8 || exit
0 commit comments