Files
screeps-deploy-action/node_modules/.bin/node-gyp-build-optional
Philipp Horstenkamp a892e71b21
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m30s
run-npm-install (#44)
Reviewed-on: #44
2025-12-16 01:10:50 +01:00

13 lines
320 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/../node-gyp-build/optional.js" "$@"
else
exec node "$basedir/../node-gyp-build/optional.js" "$@"
fi