1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 12:00:03 +02:00
Files
minifyfromhtml/node_modules/.bin/latest
2022-08-20 18:51:33 +02:00

16 lines
326 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
"$basedir/node" "$basedir/../latest/bin/latest.js" "$@"
ret=$?
else
node "$basedir/../latest/bin/latest.js" "$@"
ret=$?
fi
exit $ret