mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-11-10 05:51:07 +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
|