Skip to content

Commit 4d87b99

Browse files
committed
build: add double quotes around <(python)
Handle cases where the path the the Python executable contains spaces. Refs: #56791
1 parent 51c8fbb commit 4d87b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@
402402
],
403403
'node_cctest_sources': [
404404
'src/node_snapshot_stub.cc',
405-
'<!@(<(python) tools/search_files.py . test/cctest cc)',
406-
'<!@(<(python) tools/search_files.py . test/cctest h)',
405+
'<!@("<(python)" tools/search_files.py . test/cctest cc)',
406+
'<!@("<(python)" tools/search_files.py . test/cctest h)',
407407
],
408408
'node_cctest_openssl_sources': [
409409
'test/cctest/test_crypto_clienthello.cc',

0 commit comments

Comments
 (0)