1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.bin/image-size

16 lines
342 B
Plaintext
Raw Permalink Normal View History

2023-12-18 13:12:25 +08: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
"$basedir/node" "$basedir/../image-size/bin/image-size.js" "$@"
ret=$?
else
node "$basedir/../image-size/bin/image-size.js" "$@"
ret=$?
fi
exit $ret