2022-01-21 08:28:41 +00:00
|
|
|
#!/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
|
2022-02-23 16:41:13 +00:00
|
|
|
"$basedir/node" "$basedir/../rimraf/bin.js" "$@"
|
|
|
|
ret=$?
|
2022-01-21 08:28:41 +00:00
|
|
|
else
|
2022-02-23 16:41:13 +00:00
|
|
|
node "$basedir/../rimraf/bin.js" "$@"
|
|
|
|
ret=$?
|
2022-01-21 08:28:41 +00:00
|
|
|
fi
|
2022-02-23 16:41:13 +00:00
|
|
|
exit $ret
|