Skip to content

Commit 953d416

Browse files
authored
Merge branch 'main' into feature/3.x/graalvm-reachability
2 parents 0d6fbaf + 2fd8bfe commit 953d416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mvnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ if [ -n "${distributionSha256Sum-}" ]; then
227227
echo "Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2
228228
exit 1
229229
elif command -v sha256sum >/dev/null; then
230-
if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c >/dev/null 2>&1; then
230+
if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c - >/dev/null 2>&1; then
231231
distributionSha256Result=true
232232
fi
233233
elif command -v shasum >/dev/null; then

0 commit comments

Comments
 (0)