Skip to content

Commit cc67961

Browse files
committed
Improved: improves init-gradle-wrapper.sh
A slight change at the bottom of the file Thanks: Charles Carlsson for report
1 parent 664931e commit cc67961

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

gradle/init-gradle-wrapper.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ if [ ! -r "$GRADLE_WRAPPER_OFBIZ_PATH/$GRADLE_WRAPPER_JAR" ]; then
9797
echo " === Control downloaded files ==="
9898
if [ -n "$(whereIsBinary shasum)" ]; then
9999
echo "$SHASUM_GRADLE_WRAPPER_FILES" | shasum -c -;
100+
echo " Warning: shasum not found, the downloaded files could not be verified"
100101
exit 0;
102+
else
103+
exit 1;
104+
fi
101105
fi
102-
103-
echo " Warning: shasum not found, the downloaded files could not be verified"
104106
exit 1;
105107
fi
106-
echo " Nothing to be done"
108+
echo " Nothing more to be done"

0 commit comments

Comments
 (0)