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
870900c9
Commit
870900c9
authored
Oct 12, 2009
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix win32 binary zipfile name and contents to match the usual expectations
parent
17494737
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
win/make_mariadb_win_dist
win/make_mariadb_win_dist
+19
-6
No files found.
win/make_mariadb_win_dist
View file @
870900c9
...
@@ -28,23 +28,36 @@ VER=`cat configure.in |
...
@@ -28,23 +28,36 @@ VER=`cat configure.in |
echo
Version string:
$VER
.
echo
Version string:
$VER
.
ZIPNAME
=
mariadb-
$VER
-win32-noinstall
# Remove '-maria-' from version number
ZIPFILE
=
"
$ZIPNAME
.zip"
VER_NO_MARIA
=
${
VER
/maria-/
}
sh
-x
scripts/make_win_bin_dist
$ZIPNAME
# We want the final zip to be named like this:
# mariadb-noinstall-5.1.38-win32.zip
ZIPNAME
=
mariadb-noinstall-
$VER_NO_MARIA
-win32
ZIPFILE
=
$ZIPNAME
.zip
# The top directory inside the zip should be called like this:
# mariadb-5.1-38-win32
ZIPCONTENT
=
mariadb-
$VER_NO_MARIA
-win32
# This will make $ZIPCONTENT.zip
sh
-x
scripts/make_win_bin_dist
$ZIPCONTENT
mv
$ZIPCONTENT
.zip
$ZIPFILE
rm
-rf
unpack
rm
-rf
unpack
mkdir
unpack
mkdir
unpack
cd
unpack
cd
unpack
wget
-O
base.list.gz
\
wget
-O
base.list.gz
\
http://askmonty.org/wiki/images/
6/6c/Mariadb-5.1-pre-beta-file-list
.txt.gz
http://askmonty.org/wiki/images/
5/57/Mariadb-5.1-pre-beta-file-list-r2
.txt.gz
gunzip
base.list.gz
gunzip
base.list.gz
unzip ../
$ZIPFILE
unzip ../
$ZIPFILE
(
cd
$ZIPNAME
;
/bin/find
.
|
sort
)
>
new.list
(
cd
$ZIPNAME
;
/bin/find
.
|
sort
)
>
new.list
set
+x
diff
-u
base.list new.list
||
true
diff
-u
base.list new.list
||
true
RES
=
$?
RES
=
$?
set
-x
cd
..
cd
..
rm
-rf
unpack
rm
-rf
unpack
...
...
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