mirror of
https://github.com/megastep/makeself.git
synced 2025-09-26 19:41:12 +08:00
Changed output from stderr to stdout if the checksum is ok.
If something if fine, it should not (IMHO) be on stderr. This could cause false alarms to users where makeself is embedded into another installer. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
This commit is contained in:

committed by
Stéphane Peter

parent
3abcd7ae74
commit
bccc0e4430
@@ -267,7 +267,7 @@ MS_Check()
|
||||
echo "Error in SHA256 checksums: \$shasum is different from \$sha" >&2
|
||||
exit 2
|
||||
elif test x"\$quiet" = xn; then
|
||||
MS_Printf " SHA256 checksums are OK." >&2
|
||||
MS_Printf " SHA256 checksums are OK."
|
||||
fi
|
||||
crc="0000000000";
|
||||
fi
|
||||
@@ -285,7 +285,7 @@ MS_Check()
|
||||
echo "Error in MD5 checksums: \$md5sum is different from \$md5" >&2
|
||||
exit 2
|
||||
elif test x"\$quiet" = xn; then
|
||||
MS_Printf " MD5 checksums are OK." >&2
|
||||
MS_Printf " MD5 checksums are OK."
|
||||
fi
|
||||
crc="0000000000"; verb=n
|
||||
fi
|
||||
@@ -298,7 +298,7 @@ MS_Check()
|
||||
echo "Error in checksums: \$sum1 is different from \$crc" >&2
|
||||
exit 2
|
||||
elif test x"\$quiet" = xn; then
|
||||
MS_Printf " CRC checksums are OK." >&2
|
||||
MS_Printf " CRC checksums are OK."
|
||||
fi
|
||||
fi
|
||||
i=\`expr \$i + 1\`
|
||||
|
Reference in New Issue
Block a user