diff options
author | isaacs <i@izs.me> | 2019-08-21 03:07:24 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2019-08-21 03:07:25 +0300 |
commit | 37db2964710c80003604b7e3c1527d17be7ed3d0 (patch) | |
tree | 5b1899c048fd150c2f160d4d171d89e2568df9e2 /node_modules/cmd-shim/index.js | |
parent | c9c8d902d8715a850f937664f6d13bf41d9223dd (diff) |
cmd-shim@3.0.2
Diffstat (limited to 'node_modules/cmd-shim/index.js')
-rw-r--r-- | node_modules/cmd-shim/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/cmd-shim/index.js b/node_modules/cmd-shim/index.js index 63a9d5ad1..b1b6e583f 100644 --- a/node_modules/cmd-shim/index.js +++ b/node_modules/cmd-shim/index.js @@ -122,10 +122,10 @@ function writeShim_ (from, to, prog, args, variables, cb) { // Subroutine trick to fix https://github.com/npm/cmd-shim/issues/10 var head = '@ECHO off\r\n' + 'SETLOCAL\r\n' + - 'CALL find_dp0\r\n' + 'CALL :find_dp0\r\n' var foot = 'ENDLOCAL\r\n' + 'EXIT /b\r\n' + - 'find_dp0:\r\n' + + ':find_dp0\r\n' + 'SET dp0=%~dp0\r\n' + 'EXIT /b\r\n' |