Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
da284bc6
Commit
da284bc6
authored
Jun 22, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge here.mwagner.org:/Volumes/BK/mysql-4.0
into here.mwagner.org:/Volumes/BK/mysql-4.0-work
parents
28ac14c3
a3419405
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Build-tools/my_md5sum
Build-tools/my_md5sum
+4
-3
No files found.
Build-tools/my_md5sum
View file @
da284bc6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment