mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-28 20:13:06 +07:00
Symbolic link
13 lines
316 B
Bash
Symbolic link
13 lines
316 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/../showdown/bin/showdown.js" "$@"
|
|
else
|
|
exec node "$basedir/../showdown/bin/showdown.js" "$@"
|
|
fi
|