Skip to content

Commit 774c8fe

Browse files
committed
fixup! build: don't pass python override to V8 build
1 parent 52c42b2 commit 774c8fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make-v8.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ V8_BUILD_OPTIONS=$2
88
# Python 3 may have been symlinked as `python` in an override directory by
99
# configure.py and added to PATH. Strip this out of PATH to avoid interfering
1010
# with V8's build toolchain.
11-
OVERRIDE_BIN_DIR="$(cd out/tools/bin 2>/dev/null && pwd || true)"
11+
OVERRIDE_BIN_DIR="$(cd out/tools/bin 2>/dev/null && pwd)"
1212
if [ -n "$OVERRIDE_BIN_DIR" ]; then
13-
PATH=`echo $PATH | tr ":" "\n" | grep -v "^$OVERRIDE_BIN_DIR$" | tr "\n" ":"`
13+
PATH=`echo "$PATH" | tr ":" "\n" | grep -v "^$OVERRIDE_BIN_DIR$" | tr "\n" ":"`
1414
fi
1515

1616
cd deps/v8 || exit

0 commit comments

Comments
 (0)