1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 14:30:19 +00:00
musix-oss/node_modules/.bin/detect-libc

16 lines
346 B
Plaintext
Raw Normal View History

2020-03-04 11:43:21 +00: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/../detect-libc/bin/detect-libc.js" "$@"
ret=$?
else
node "$basedir/../detect-libc/bin/detect-libc.js" "$@"
ret=$?
fi
exit $ret