30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00
weblinks/node_modules/.bin/cypress

13 lines
306 B
Plaintext
Raw Normal View History

2023-05-16 15:17:32 +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
exec "$basedir/node" "$basedir/../cypress/bin/cypress" "$@"
else
exec node "$basedir/../cypress/bin/cypress" "$@"
fi