"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/bin/npm.cmd" (11 Apr 2017, 483 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 :: Created by npm, please don't edit manually.
    2 @ECHO OFF
    3 
    4 SETLOCAL
    5 
    6 SET "NODE_EXE=%~dp0\node.exe"
    7 IF NOT EXIST "%NODE_EXE%" (
    8   SET "NODE_EXE=node"
    9 )
   10 
   11 SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js"
   12 FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO (
   13   SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js"
   14 )
   15 IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" (
   16   SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%"
   17 )
   18 
   19 "%NODE_EXE%" "%NPM_CLI_JS%" %*