Skip to content

Commit

Permalink
build: add double quotes around <(python)
Browse files Browse the repository at this point in the history
Handle cases where the path to the Python executable contains spaces.

Refs: nodejs#56791
  • Loading branch information
lpinca committed Jan 30, 2025
1 parent 51c8fbb commit 75ea73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@
],
'node_cctest_sources': [
'src/node_snapshot_stub.cc',
'<!@(<(python) tools/search_files.py . test/cctest cc)',
'<!@(<(python) tools/search_files.py . test/cctest h)',
'<!@("<(python)" tools/search_files.py . test/cctest cc)',
'<!@("<(python)" tools/search_files.py . test/cctest h)',
],
'node_cctest_openssl_sources': [
'test/cctest/test_crypto_clienthello.cc',
Expand Down

0 comments on commit 75ea73e

Please sign in to comment.