diff options
author | unknown <mwagner@here.mwagner.org> | 2004-06-22 13:03:20 -0500 |
---|---|---|
committer | unknown <mwagner@here.mwagner.org> | 2004-06-22 13:03:20 -0500 |
commit | 9a9c59db83428ee9515ca2006bd135bca0536ddd (patch) | |
tree | 1bd61281d8e5c6f3b8d28b4820f1aec436a14f61 | |
parent | 1c1dcdd152179f64f240b96efdd9e927b213d4d1 (diff) | |
parent | 5b2e07b1c8cebb6f90a4448eb87fea9d204a783b (diff) | |
download | mariadb-git-9a9c59db83428ee9515ca2006bd135bca0536ddd.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into here.mwagner.org:/Volumes/BK/mysql-4.0
-rwxr-xr-x | Build-tools/my_md5sum | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build-tools/my_md5sum b/Build-tools/my_md5sum index d58a8bb7200..20742ee2ed0 100755 --- a/Build-tools/my_md5sum +++ b/Build-tools/my_md5sum @@ -13,7 +13,7 @@ use strict; use Digest::MD5; use Getopt::Long; -my $VER= "1.0"; +my $VER= "1.1"; # # Strip the leading path info off the program name ($0). We want 'my_md5sum' @@ -64,8 +64,9 @@ if ($opt_check) my $digest= &mkmd5($checkfile); # Check the fresh MD5 against what is recorded in the file - # Print an error message if they don't match - print "$0: MD5 check failed for '$checkfile'\n" if $digest ne $checksum; + # Print an error message if they don't match, else print OK + print "$checkfile: FAILED\n" if $digest ne $checksum; + print "$checkfile: OK\n" if $digest eq $checksum; } } # Else generate the MD5 digest to STDOUT |