node-pre-gyp 342 B

123456789101112
  1. #!/bin/sh
  2. basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3. case `uname` in
  4. *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
  5. esac
  6. if [ -x "$basedir/node" ]; then
  7. exec "$basedir/node" "$basedir/../@mapbox/node-pre-gyp/bin/node-pre-gyp" "$@"
  8. else
  9. exec node "$basedir/../@mapbox/node-pre-gyp/bin/node-pre-gyp" "$@"
  10. fi