diff options
Diffstat (limited to 'bin/node-gyp-bin/node-gyp.cmd')
-rwxr-xr-x | bin/node-gyp-bin/node-gyp.cmd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/node-gyp-bin/node-gyp.cmd b/bin/node-gyp-bin/node-gyp.cmd index c2563ea11..a05fd8cae 100755 --- a/bin/node-gyp-bin/node-gyp.cmd +++ b/bin/node-gyp-bin/node-gyp.cmd @@ -1 +1,5 @@ -node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %*
+if not defined npm_config_node_gyp (
+ node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %*
+) else (
+ %npm_config_node_gyp% %*
+)
|