• File: node-which
  • Full Path: /var/www/paytek-africa.com/node_modules/.bin/node-which
  • Date Modified: 07/19/2022 5:05 PM
  • File size: 308 bytes
  • MIME-type: text/x-shellscript
  • Charset: utf-8
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../which/bin/node-which" "$@"
else 
  exec node  "$basedir/../which/bin/node-which" "$@"
fi