20 lines
597 B
Bash
Executable File
20 lines
597 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
##############################################################################
|
|
##
|
|
## Gradle start up script for UN*X
|
|
##
|
|
##############################################################################
|
|
|
|
##
|
|
## The default gradle wrapper script was replaced by a call to Nix's gradle package.
|
|
## Please revert to this script any time that it is upgraded by React Native.
|
|
##
|
|
|
|
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
|
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
|
cd "$(dirname "$0")"
|
|
fi
|
|
|
|
exec gradle "$@"
|