3 # set configurations that will be "sticky" on this system,
4 # surviving npm self-updates.
9 # get the location of this file.
11 CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc
13 while [ $# -gt 0 ]; do
17 echo "./configure --param=value ..."
21 CONFIGS[$i]="${conf:2}"
31 for c in "${CONFIGS[@]}"; do
32 echo "$c" >> "$CONFFILE"