Improved: improves init-gradle-wrapper.sh
A slight change at the bottom of the file
Thanks: Charles Carlsson for report
diff --git a/gradle/init-gradle-wrapper.sh b/gradle/init-gradle-wrapper.sh
index a8c2d34..764b406 100755
--- a/gradle/init-gradle-wrapper.sh
+++ b/gradle/init-gradle-wrapper.sh
@@ -97,10 +97,12 @@
echo " === Control downloaded files ==="
if [ -n "$(whereIsBinary shasum)" ]; then
echo "$SHASUM_GRADLE_WRAPPER_FILES" | shasum -c -;
+ echo " Warning: shasum not found, the downloaded files could not be verified"
exit 0;
+ else
+ exit 1;
+ fi
fi
-
- echo " Warning: shasum not found, the downloaded files could not be verified"
exit 1;
fi
-echo " Nothing to be done"
+echo " Nothing more to be done"