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
9c896593
Commit
9c896593
authored
Jul 07, 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
6f45a5f1
fc3c71e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Build-tools/my_md5sum
Build-tools/my_md5sum
+7
-1
No files found.
Build-tools/my_md5sum
View file @
9c896593
...
@@ -24,7 +24,8 @@ BEGIN
...
@@ -24,7 +24,8 @@ BEGIN
use
Digest::
MD5
;
use
Digest::
MD5
;
use
Getopt::
Long
;
use
Getopt::
Long
;
my
$VER
=
"
1.2
";
my
$VER
=
"
1.3
";
my
$EXIT
=
0
;
#
#
# Strip the leading path info off the program name ($0). We want 'my_md5sum'
# Strip the leading path info off the program name ($0). We want 'my_md5sum'
...
@@ -78,6 +79,9 @@ if ($opt_check)
...
@@ -78,6 +79,9 @@ if ($opt_check)
# Print an error message if they don't match, else print OK
# Print an error message if they don't match, else print OK
print
"
$checkfile
: FAILED
\n
"
if
$digest
ne
$checksum
;
print
"
$checkfile
: FAILED
\n
"
if
$digest
ne
$checksum
;
print
"
$checkfile
: OK
\n
"
if
$digest
eq
$checksum
;
print
"
$checkfile
: OK
\n
"
if
$digest
eq
$checksum
;
# Set the exit() status to non-zero if FAILED
$EXIT
=
1
if
$digest
ne
$checksum
;
}
}
}
}
# Else generate the MD5 digest to STDOUT
# Else generate the MD5 digest to STDOUT
...
@@ -91,6 +95,8 @@ else
...
@@ -91,6 +95,8 @@ else
}
}
}
}
exit
(
$EXIT
);
#
#
# This routine generates the MD5 digest of a file
# This routine generates the MD5 digest of a file
...
...
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