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
cae47f4b
Commit
cae47f4b
authored
Jun 17, 2006
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
parents
1b7d4cac
6783fc83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+6
-11
No files found.
scripts/make_win_src_distribution.sh
View file @
cae47f4b
...
@@ -77,7 +77,7 @@ show_usage()
...
@@ -77,7 +77,7 @@ show_usage()
echo
" --tmp Specify the temporary location"
echo
" --tmp Specify the temporary location"
echo
" --suffix Suffix name for the package"
echo
" --suffix Suffix name for the package"
echo
" --dirname Directory name to copy files (intermediate)"
echo
" --dirname Directory name to copy files (intermediate)"
echo
" --silent
Do not list verbosely files processed
"
echo
" --silent
Show no progress information
"
echo
" --tar Create tar.gz package"
echo
" --tar Create tar.gz package"
echo
" --zip Create zip package"
echo
" --zip Create zip package"
echo
" --help Show this help message"
echo
" --help Show this help message"
...
@@ -143,10 +143,11 @@ unix_to_dos()
...
@@ -143,10 +143,11 @@ unix_to_dos()
# Create a tmp dest directory to copy files
# Create a tmp dest directory to copy files
#
#
BASE
=
$TMP
/my_win_dist
$SUFFIX
BASE
=
$TMP
/my_win_dist
$SUFFIX
.
$$
trap
"rm -r -f
$BASE
; echo '*** interrupted ***'; exit 1"
1 2 3 13 15
if
[
-d
$BASE
]
;
then
if
[
-d
$BASE
]
;
then
print_debug
"
Destination directory '
$BASE
' already exists, deleting it"
echo
"WARNING:
Destination directory '
$BASE
' already exists, deleting it"
rm
-r
-f
$BASE
rm
-r
-f
$BASE
fi
fi
...
@@ -462,21 +463,15 @@ set_tarzip_options()
...
@@ -462,21 +463,15 @@ set_tarzip_options()
if
[
"
$arg
"
=
"tar"
]
;
then
if
[
"
$arg
"
=
"tar"
]
;
then
ZIPFILE1
=
gnutar
ZIPFILE1
=
gnutar
ZIPFILE2
=
gtar
ZIPFILE2
=
gtar
OPT
=
c
v
f
OPT
=
cf
EXT
=
".tar"
EXT
=
".tar"
NEED_COMPRESS
=
1
NEED_COMPRESS
=
1
if
[
"
$DEBUG
"
=
"0"
]
;
then
OPT
=
cf
fi
else
else
ZIPFILE1
=
zip
ZIPFILE1
=
zip
ZIPFILE2
=
""
ZIPFILE2
=
""
OPT
=
"-r"
OPT
=
"-r
-q
"
EXT
=
".zip"
EXT
=
".zip"
NEED_COMPRESS
=
0
NEED_COMPRESS
=
0
if
[
"
$DEBUG
"
=
"0"
]
;
then
OPT
=
"
$OPT
-q"
fi
fi
fi
done
done
}
}
...
...
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