File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
maven-wrapper-distribution/src/resources Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ done <"$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
290
290
if [ -n " $wrapperSha256Sum " ]; then
291
291
wrapperSha256Result=false
292
292
if command -v sha256sum > /dev/null; then
293
- if echo " $wrapperSha256Sum $wrapperJarPath " | sha256sum -c > /dev/null 2>&1 ; then
293
+ if echo " $wrapperSha256Sum $wrapperJarPath " | sha256sum -c - > /dev/null 2>&1 ; then
294
294
wrapperSha256Result=true
295
295
fi
296
296
elif command -v shasum > /dev/null; then
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ if [ -n "${distributionSha256Sum-}" ]; then
227
227
echo " Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2
228
228
exit 1
229
229
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
231
231
distributionSha256Result=true
232
232
fi
233
233
elif command -v shasum > /dev/null; then
You can’t perform that action at this time.
0 commit comments