32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-11-10 23:31:01 +00:00
weblinks/node_modules/.bin/cypress
2023-05-16 17:17:32 +02:00

13 lines
306 B
Bash

#!/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