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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
58409db4
Commit
58409db4
authored
May 09, 2005
by
mwagner@ultrafly.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_binary_distribution.sh:
- Add --machine override
parent
6078fccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+9
-0
No files found.
scripts/make_binary_distribution.sh
View file @
58409db4
...
...
@@ -15,6 +15,7 @@ MV="mv"
STRIP
=
1
DEBUG
=
0
SILENT
=
0
MACHINE
=
TMP
=
/tmp
SUFFIX
=
""
NDBCLUSTER
=
...
...
@@ -26,6 +27,7 @@ parse_arguments() {
--tmp
=
*
)
TMP
=
`
echo
"
$arg
"
|
sed
-e
"s;--tmp=;;"
`
;;
--suffix
=
*
)
SUFFIX
=
`
echo
"
$arg
"
|
sed
-e
"s;--suffix=;;"
`
;;
--no-strip
)
STRIP
=
0
;;
--machine
)
MACHINE
=
`
echo
"
$arg
"
|
sed
-e
"s;--machine=;;"
`
;;
--silent
)
SILENT
=
1
;;
--with-ndbcluster
)
NDBCLUSTER
=
1
;;
*
)
...
...
@@ -38,6 +40,8 @@ parse_arguments() {
parse_arguments
"
$@
"
#make
# This should really be integrated with automake and not duplicate the
...
...
@@ -310,6 +314,11 @@ system=`echo $system | sed -e 's/linux-gnu/linux/g'`
system
=
`
echo
$system
|
sed
-e
's/solaris2.\([0-9]*\)/solaris\1/g'
`
system
=
`
echo
$system
|
sed
-e
's/sco3.2v\(.*\)/openserver\1/g'
`
# Use the override --machine if present
if
[
$MACHINE
!=
""
]
;
then
machine
=
$MACHINE
fi
# Change the distribution to a long descriptive name
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-
$version
-
$system
-
$machine$SUFFIX
...
...
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