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
8e381405
Commit
8e381405
authored
Apr 15, 2004
by
tomas@mc05.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_binary_distribution.sh:
added --with-ndbcluster switch
parent
855fcf14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+14
-0
No files found.
scripts/make_binary_distribution.sh
View file @
8e381405
...
...
@@ -17,6 +17,7 @@ DEBUG=0
SILENT
=
0
TMP
=
/tmp
SUFFIX
=
""
NDBCLUSTER
=
parse_arguments
()
{
for
arg
do
...
...
@@ -26,6 +27,7 @@ parse_arguments() {
--suffix
=
*
)
SUFFIX
=
`
echo
"
$arg
"
|
sed
-e
"s;--suffix=;;"
`
;;
--no-strip
)
STRIP
=
0
;;
--silent
)
SILENT
=
1
;;
--with-ndbcluster
)
NDBCLUSTER
=
1
;;
*
)
echo
"Unknown argument '
$arg
'"
exit
1
...
...
@@ -245,6 +247,18 @@ if [ -d $BASE/sql-bench/SCCS ] ; then
find
$BASE
/sql-bench
-name
SCCS
-print
| xargs
rm
-r
-f
fi
# NDB Cluster
if
[
x
$NDBCLUSTER
=
x1
]
;
then
if
[
!
-f
ndb/BinDist.sh
]
;
then
echo
"Missing ndb/BinDist.sh"
;
exit
1
fi
mkdir
$BASE
/ndb
||
exit
1
# assume we have cpio..
if
(
cd
ndb
&&
sh BinDist.sh | cpio
-pdm
$BASE
/ndb
)
;
then
:
;
else
echo
"Copy failed - missing files in ndb/BinDist.sh ?"
;
exit
1
fi
fi
# Change the distribution to a long descriptive name
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-
$version
-
$system
-
$machine$SUFFIX
BASE2
=
$TMP
/
$NEW_NAME
...
...
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