Skip to content

Commit cd70cbf

Browse files
authored
Fix Maven Wrapper on macOS Sequoia (#3676)
1 parent 46ec96e commit cd70cbf

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)