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
14956128
Commit
14956128
authored
Mar 13, 2003
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
parents
f590fa7c
7a026899
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
Build-tools/Do-pkg
Build-tools/Do-pkg
+9
-7
No files found.
Build-tools/Do-pkg
View file @
14956128
...
...
@@ -34,7 +34,7 @@ GetOptions(
"
help|h
",
"
log|l:s
",
"
mail|m=s
",
"
skip-dmg
",
"
skip-dmg
|skip-disk-image|s
",
"
suffix=s
",
"
verbose|v
",
"
version=s
",
...
...
@@ -74,7 +74,7 @@ $TAR= <$BUILDDIR/$NAME-apple-darwin*-powerpc.tar.gz>;
$INFO
=
<
$SUPFILEDIR
/
Info
.
plist
>
;
$DESC
=
<
$SUPFILEDIR
/
Description
.
plist
>
;
@RESOURCES
=
qw/ ReadMe.txt postinstall preinstall /
;
@LICENSES
=
qw{ $SRCBASEDIR/COPYING $SRCBASEDIR/MySQLEULA.txt }
;
@LICENSES
=
("
$SRCBASEDIR
/COPYING
","
$SRCBASEDIR
/MySQLEULA.txt
")
;
&
print_help
("")
if
(
$opt_help
||
!
$opt_suffix
||
!
$opt_version
);
...
...
@@ -125,12 +125,14 @@ foreach $resfile (@RESOURCES)
# Search for license file
foreach
$license
(
@LICENSES
)
{
last
if
(
-
f
"
$license
")
if
(
-
f
"
$license
")
{
$command
=
"
cp
$license
$RESOURCE_DIR
/License.txt
";
&
run_command
(
$command
,
"
Error while copying
$license
to
$RESOURCE_DIR
");
}
}
&
abort
("
Could not find a license file!
")
unless
(
-
f
"
$license
");
$command
=
"
cp
$license
$RESOURCE_DIR
/License.txt
";
&
run_command
(
$command
,
"
Error while copying
$license
to
$RESOURCE_DIR
");
&
abort
("
Could not find a license file!
")
unless
(
-
f
"
$RESOURCE_DIR
/License.txt
");
# Extract the binary tarball and create the "mysql" symlink
&
logger
("
Extracting
$TAR
to
$PKGROOT
");
...
...
@@ -228,7 +230,7 @@ Options:
is enabled)
Note that the \@-Sign needs to be quoted!
Example: --mail=user\\\@domain.com
--skip-dmg
Just build the PKG, don't put it into a
-s, --skip-disk-image
Just build the PKG, don't put it into a
disk image afterwards
--suffix=<suffix> The package suffix (e.g. "-standard" or "-pro)
--version=<version> The MySQL version number (e.g. 4.0.11-gamma)
...
...
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