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

vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new cd70cbff91 Fix Maven Wrapper on macOS Sequoia (#3676)
cd70cbff91 is described below

commit cd70cbff916fce04c10505aa83dd664482424904
Author: Ryan Schmitt <rschm...@apache.org>
AuthorDate: Mon May 19 13:39:15 2025 -0700

    Fix Maven Wrapper on macOS Sequoia (#3676)
---
 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