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
51e40aca
Commit
51e40aca
authored
Jul 08, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into here.mwagner.org:/Volumes/BK/mysql-4.0
parents
590afa80
4a45ca91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
Build-tools/Do-compile
Build-tools/Do-compile
+18
-1
No files found.
Build-tools/Do-compile
View file @
51e40aca
...
...
@@ -202,6 +202,17 @@ if ($opt_stage == 0)
safe_cd
(
$host
);
if
(
$opt_stage
==
0
&&
!
$opt_use_old_distribution
)
{
$md5_result
=
safe_system
("
my_md5sum -c
${opt_distribution}
.md5
");
if
(
$md5_result
!=
0
)
{
abort
("
MD5 failed for
$opt_distribution
!
");
}
else
{
info
("
SUCCESS: MD5 checks for
$opt_distribution
");
}
safe_system
("
gunzip <
$opt_distribution
|
$tar
xf -
");
# Fix file times; This is needed because the time for files may be
...
...
@@ -320,6 +331,9 @@ if ($opt_stage <= 3)
$tar_file
=<
$pwd
/$host/m
ysql
*.
t
*
gz
>
;
abort
("
Could not find tarball!
")
unless
(
$tar_file
);
# Generate the MD5 for the binary distribution
safe_system
("
my_md5sum
$tar_file
>
${tar_file}
.md5}
");
#
# Unpack the binary distribution
#
...
...
@@ -633,7 +647,10 @@ sub safe_system
my
(
$com
,
$res
)
=
@_
;
print
LOG
"
$com
\n
";
print
"
$host
:
$com
\n
"
if
(
$opt_debug
);
system
("
$com
>>
$log
2>&1
")
&&
abort
("
error: Couldn't execute command, error:
"
.
(
$?
/
256
));
my
$result
=
system
("
$com
>>
$log
2>&1
");
abort
("
error: Couldn't execute command, error:
"
.
(
$?
/
256
))
unless
$result
==
0
;
return
$result
;
}
sub
check_system
...
...
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