mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
fd22b0bf58
V2 (Laravel re-make)
16 lines
312 B
JavaScript
16 lines
312 B
JavaScript
#!/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
|
|
"$basedir/node" "$basedir/../sha.js/bin.js" "$@"
|
|
ret=$?
|
|
else
|
|
node "$basedir/../sha.js/bin.js" "$@"
|
|
ret=$?
|
|
fi
|
|
exit $ret
|