This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 06da643084 Improved: improves init-gradle-wrapper.sh
06da643084 is described below
commit 06da643084e21554da8317f100fb8bf7357c1c09
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Oct 14 10:21:55 2025 +0200
Improved: improves init-gradle-wrapper.sh
A slight change at the bottom of the file
Thanks: Charles Carlsson for report
---
gradle/init-gradle-wrapper.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gradle/init-gradle-wrapper.sh b/gradle/init-gradle-wrapper.sh
index a8c2d34282..764b40605a 100755
--- a/gradle/init-gradle-wrapper.sh
+++ b/gradle/init-gradle-wrapper.sh
@@ -97,10 +97,12 @@ if [ ! -r "$GRADLE_WRAPPER_OFBIZ_PATH/$GRADLE_WRAPPER_JAR"
]; then
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"