This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch fix/3.x/mvnw
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 8a26f56bdf45f4a0946e91ecb59f03ca2e3199fa
Author: Matt Sicker <msic...@apple.com>
AuthorDate: Thu Aug 14 11:52:07 2025 -0500

    Backport mvnw fix for macOS Sequoia
---
 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

Reply via email to