You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ga...@apache.org on 2025/08/26 08:22:10 UTC

(flink) branch release-2.0 updated: [FLINK-37181][build] Fix MacOS sha256sum tool compile error

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

gaborgsomogyi pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-2.0 by this push:
     new a21ac9accb3 [FLINK-37181][build] Fix MacOS sha256sum tool compile error
a21ac9accb3 is described below

commit a21ac9accb37d5420d2f158d65a2027fbaa10393
Author: Mohsen Rezaei <77...@users.noreply.github.com>
AuthorDate: Tue Aug 26 01:22:04 2025 -0700

    [FLINK-37181][build] Fix MacOS sha256sum tool compile error
    
    (cherry picked from commit d95f0567c57f375719cba012df74669b921998d9)
    
    Co-authored-by: Gabor Somogyi <ga...@apple.com>
---
 mvnw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mvnw b/mvnw
index 5e9618cac26..7a34695b137 100755
--- a/mvnw
+++ b/mvnw
@@ -284,11 +284,11 @@ done <"$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
 if [ -n "$wrapperSha256Sum" ]; then
   wrapperSha256Result=false
   if command -v sha256sum >/dev/null; then
-    if echo "$wrapperSha256Sum  $wrapperJarPath" | sha256sum -c >/dev/null 2>&1; then
+    if echo "$wrapperSha256Sum  $wrapperJarPath" | sha256sum -c - >/dev/null 2>&1; then
       wrapperSha256Result=true
     fi
   elif command -v shasum >/dev/null; then
-    if echo "$wrapperSha256Sum  $wrapperJarPath" | shasum -a 256 -c >/dev/null 2>&1; then
+    if echo "$wrapperSha256Sum  $wrapperJarPath" | shasum -a 256 -c - >/dev/null 2>&1; then
       wrapperSha256Result=true
     fi
   else