This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new cc67961e97 Improved: improves init-gradle-wrapper.sh
cc67961e97 is described below
commit cc67961e97184a3ec0b0f7ecb86ecb29a81fed60
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 83b218c7e9..03fe15b779 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"