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
e4ca7e89
Commit
e4ca7e89
authored
Apr 11, 2008
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with the latest changes.
parent
ff014f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
scripts/make_source_release.sh
scripts/make_source_release.sh
+8
-8
No files found.
scripts/make_source_release.sh
View file @
e4ca7e89
...
...
@@ -21,14 +21,14 @@
MYSQL_BRANCH
=
"5.1"
MYSQL_VER
=
"
${
MYSQL_BRANCH
}
.23-rc"
INNODB_VER
=
"1.0.
a1
"
INNODB_VER
=
"1.0.
0
"
# end of changeable variables
MYSQL_DIR
=
"mysql-
${
MYSQL_VER
}
"
MYSQL_ARCHIVE
=
"
${
MYSQL_DIR
}
.tar.gz"
INNODB_DIR
=
"innodb-
${
INNODB_VER
}
-
${
MYSQL_BRANCH
}
"
INNODB_DIR
=
"innodb
_plugin
-
${
INNODB_VER
}
-
${
MYSQL_BRANCH
}
"
INNODB_SVN_REPO
=
"https://svn.innodb.com/svn/innodb"
...
...
@@ -39,6 +39,7 @@ scripts/export.sh
scripts/make_binary_release.sh
scripts/make_source_release.sh
"
REMOVE_DIRS
=
"scripts"
# get MySQL sources
# pick one mirror from http://dev.mysql.com/downloads/mirrors.html
...
...
@@ -51,9 +52,7 @@ tar -zxf ${MYSQL_ARCHIVE}
# get InnoDB sources
cd
${
MYSQL_DIR
}
/storage
mv
innobase innobase.orig
# XXX this must export a specific tag, not the latest revision, but
# we do not yet have tags.
svn
export
${
INNODB_SVN_REPO
}
/branches/zip innobase
svn
export
${
INNODB_SVN_REPO
}
/tags/
${
INNODB_DIR
}
innobase
# "steal" MySQL's ./COPYING (GPLv2)
cp
-v
../COPYING innobase/
# Hack the autotools files so users can compile by using ./configure and
...
...
@@ -76,18 +75,19 @@ sed -i '' \
rm
-fr
innobase.orig
# remove unnecessary files
# remove unnecessary files and directories
# avoid rm -fr, too dangerous
cd
innobase
rm
${
REMOVE_FILES
}
rmdir
${
REMOVE_DIRS
}
# create InnoDB's Makefile.in
cd
../..
./BUILD/autorun.sh
# create archive
s
# create archive
cd
storage
mv
innobase
${
INNODB_DIR
}
tar
-cf
-
${
INNODB_DIR
}
|gzip
-9
>
../../
${
INNODB_DIR
}
.tar.gz
tar
-cf
-
${
INNODB_DIR
}
|bzip2
>
../../
${
INNODB_DIR
}
.tar.bz2
# EOF
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