forked from npm/cmd-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reliably resolve the executable's parent dir
%~dp0 is not reliable. If the batch file invocation is quoted and invoked without a path, %~dp0 is set to $PWD instead of the batch file's parent directory. Fixes npm#10
- Loading branch information
1 parent
8d4210e
commit 72d66f4
Showing
2 changed files
with
42 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters