Add files via upload

This commit is contained in:
jlevine18 2019-01-06 12:56:49 -06:00 committed by GitHub
parent cac1b4fba4
commit 5f2db375f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
website/functions/acorn Normal file
View File

@ -0,0 +1,15 @@
#!/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/../acorn/bin/acorn" "$@"
ret=$?
else
node "$basedir/../acorn/bin/acorn" "$@"
ret=$?
fi
exit $ret