"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/bin/npm" (8 Mar 2017, 361 Bytes) of archive /windows/misc/atom-windows.zip:


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

    1 #!/bin/bash
    2 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    3 export PATH="$SCRIPT_DIR:$PATH"
    4 
    5 export PYTHON="${SCRIPT_DIR}/python-interceptor.sh"
    6 
    7 maybe_node_gyp_path="$SCRIPT_DIR"/../node_modules/.bin/node-gyp
    8 if [ -e "$maybe_node_gyp_path" ]
    9 then
   10   export npm_config_node_gyp="$maybe_node_gyp_path"
   11 fi
   12 
   13 "$SCRIPT_DIR"/../node_modules/.bin/npm $@