summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index ce7d144..c7b9950 100755
--- a/run.sh
+++ b/run.sh
@@ -173,7 +173,7 @@ case "$COMMAND" in
skip_prepare=true
fi
- if test -f build.gradle ; then
+ if [ -f build.gradle ] && [ ! -f gradlew ] ; then
gradle build ${GRADLE_CLI_OPTS:"-x test"}
skip_prepare=true
fi