This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/main by this push:
new 2fd8bfe8de Backport mvnw fix for macOS Sequoia (#3881)
2fd8bfe8de is described below
commit 2fd8bfe8de24be308ca08b2861b7c197554e891d
Author: Matt Sicker <[email protected]>
AuthorDate: Fri Aug 15 12:41:50 2025 -0500
Backport mvnw fix for macOS Sequoia (#3881)
---
mvnw | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mvnw b/mvnw
index 19529ddf8c..14c58dcb00 100755
--- a/mvnw
+++ b/mvnw
@@ -227,7 +227,7 @@ if [ -n "${distributionSha256Sum-}" ]; then
echo "Please disable validation by removing 'distributionSha256Sum' from
your maven-wrapper.properties." >&2
exit 1
elif command -v sha256sum >/dev/null; then
- if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" |
sha256sum -c >/dev/null 2>&1; then
+ if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" |
sha256sum -c - >/dev/null 2>&1; then
distributionSha256Result=true
fi
elif command -v shasum >/dev/null; then