yunkong2.vis.cordova/cordova
2018-09-22 10:44:38 +08:00

16 lines
298 B
Bash

#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/node_modules/cordova/bin/cordova" "$@"
ret=$?
else
node "$basedir/node_modules/cordova/bin/cordova" "$@"
ret=$?
fi
exit $ret