2019-03-04 12:38:41 +00:00
|
|
|
#!/usr/bin/env sh
|
2016-02-22 22:04:42 +00:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
##
|
|
|
|
## Gradle start up script for UN*X
|
|
|
|
##
|
|
|
|
##############################################################################
|
|
|
|
|
2019-03-29 10:56:08 +00:00
|
|
|
##
|
|
|
|
## 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.
|
|
|
|
##
|
2019-03-04 12:38:41 +00:00
|
|
|
|
|
|
|
# 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
|
2016-02-22 22:04:42 +00:00
|
|
|
|
2019-03-29 10:56:08 +00:00
|
|
|
exec gradle "$@"
|