diff options
Diffstat (limited to 'deps/node/deps/npm/configure')
-rwxr-xr-x | deps/node/deps/npm/configure | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/deps/node/deps/npm/configure b/deps/node/deps/npm/configure deleted file mode 100755 index b13c8d0d..00000000 --- a/deps/node/deps/npm/configure +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# set configurations that will be "sticky" on this system, -# surviving npm self-updates. - -CONFIGS=() -i=0 - -# get the location of this file. -unset CDPATH -CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc - -while [ $# -gt 0 ]; do - conf="$1" - case $conf in - --help) - echo "./configure --param=value ..." - exit 0 - ;; - --*) - CONFIGS[$i]="${conf:2}" - ;; - *) - CONFIGS[$i]="$conf" - ;; - esac - let i++ - shift -done - -for c in "${CONFIGS[@]}"; do - echo "$c" >> "$CONFFILE" -done |