tra-analysis/website/node_modules/.bin/npm

16 lines
307 B
Plaintext
Raw Normal View History

2019-01-06 19:14:45 +00:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../npm/bin/npm-cli.js" "$@"
ret=$?
else
node "$basedir/../npm/bin/npm-cli.js" "$@"
ret=$?
fi
exit $ret