summaryrefslogtreecommitdiff
path: root/node_modules/.bin/detect-libc.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/.bin/detect-libc.cmd')
-rw-r--r--node_modules/.bin/detect-libc.cmd17
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/.bin/detect-libc.cmd b/node_modules/.bin/detect-libc.cmd
new file mode 100644
index 0000000..8e862c4
--- /dev/null
+++ b/node_modules/.bin/detect-libc.cmd
@@ -0,0 +1,17 @@
+@ECHO off
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+ SET "_prog=%dp0%\node.exe"
+) ELSE (
+ SET "_prog=node"
+ SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+"%_prog%" "%dp0%\..\detect-libc\bin\detect-libc.js" %*
+ENDLOCAL
+EXIT /b %errorlevel%
+:find_dp0
+SET dp0=%~dp0
+EXIT /b