mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
16 lines
364 B
Bash
16 lines
364 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/../google-gax/build/tools/compileProtos.js" "$@"
|
|
ret=$?
|
|
else
|
|
node "$basedir/../google-gax/build/tools/compileProtos.js" "$@"
|
|
ret=$?
|
|
fi
|
|
exit $ret
|