Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit fa84f26

Browse files
committed
Handle PATH entries with quotes containing parens in apm.cmd
1 parent c16b8c8 commit fa84f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/apm.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if not defined apm_git_path (
99
if exist %%d\cmd\git.exe set apm_git_path=%%d\cmd
1010
)
1111
:: Found one, add it to the path
12-
if defined apm_git_path set "Path=!apm_git_path!;%PATH%"
12+
if defined apm_git_path set "Path=!apm_git_path!;!PATH!"
1313
)
1414

1515
set maybe_node_gyp_path=%~dp0\..\node_modules\node-gyp\bin\node-gyp.js

0 commit comments

Comments
 (0)