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
c8ba8c13
Commit
c8ba8c13
authored
Oct 28, 2004
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/M41/mysql-4.1
parents
2fc0d7e4
30020702
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+14
-12
No files found.
scripts/make_win_src_distribution.sh
View file @
c8ba8c13
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
version
=
@VERSION@
version
=
@VERSION@
export
version
export
version
SOURCE
=
`
pwd
`
CP
=
"cp -p"
CP
=
"cp -p"
DEBUG
=
0
DEBUG
=
0
...
@@ -24,6 +23,7 @@ if [ ! -f scripts/make_win_src_distribution ]; then
...
@@ -24,6 +23,7 @@ if [ ! -f scripts/make_win_src_distribution ]; then
echo
"ERROR : You must run this script from the MySQL top-level directory"
echo
"ERROR : You must run this script from the MySQL top-level directory"
exit
1
exit
1
fi
fi
SOURCE
=
`
pwd
`
#
#
# Check for source compilation/configuration
# Check for source compilation/configuration
...
@@ -119,7 +119,7 @@ unix_to_dos()
...
@@ -119,7 +119,7 @@ unix_to_dos()
for
arg
do
for
arg
do
print_debug
"Replacing LF -> CRLF from '
$arg
'"
print_debug
"Replacing LF -> CRLF from '
$arg
'"
cat
$arg
|
awk
'{sub(/$/,"\r");print}'
>
$arg
.tmp
awk
'{sub(/$/,"\r");print}'
<
$arg
>
$arg
.tmp
rm
-f
$arg
rm
-f
$arg
mv
$arg
.tmp
$arg
mv
$arg
.tmp
$arg
done
done
...
@@ -138,14 +138,6 @@ if [ -d $BASE ] ; then
...
@@ -138,14 +138,6 @@ if [ -d $BASE ] ; then
fi
fi
$CP
-r
$SOURCE
/VC++Files
$BASE
$CP
-r
$SOURCE
/VC++Files
$BASE
(
find
$BASE
\(
-name
"*.dsp"
-o
-name
"*.dsw"
\)
-and
-not
-path
\*
SCCS
\*
-print
)
|
(
while
read
v
do
unix_to_dos
$v
done
)
#
#
# Process version tags in InstallShield files
# Process version tags in InstallShield files
...
@@ -281,7 +273,6 @@ for i in COPYING ChangeLog README EXCEPTIONS-CLIENT\
...
@@ -281,7 +273,6 @@ for i in COPYING ChangeLog README EXCEPTIONS-CLIENT\
Docs/manual_toc.html Docs/manual.html
\
Docs/manual_toc.html Docs/manual.html
\
Docs/manual.txt Docs/mysqld_error.txt
\
Docs/manual.txt Docs/mysqld_error.txt
\
Docs/INSTALL-BINARY Docs/internals.texi
Docs/INSTALL-BINARY Docs/internals.texi
do
do
print_debug
"Copying file '
$i
'"
print_debug
"Copying file '
$i
'"
if
[
-f
$i
]
if
[
-f
$i
]
...
@@ -322,7 +313,18 @@ done
...
@@ -322,7 +313,18 @@ done
./extra/replace std::
""
<
$BASE
/sql/sql_yacc.cpp |
sed
'/^ *switch (yytype)$/ { N; /\n *{$/ { N; /\n *default:$/ { N; /\n *break;$/ { N; /\n *}$/ d; };};};} '
>
$BASE
/sql/sql_yacc.cpp-new
./extra/replace std::
""
<
$BASE
/sql/sql_yacc.cpp |
sed
'/^ *switch (yytype)$/ { N; /\n *{$/ { N; /\n *default:$/ { N; /\n *break;$/ { N; /\n *}$/ d; };};};} '
>
$BASE
/sql/sql_yacc.cpp-new
mv
$BASE
/sql/sql_yacc.cpp-new
$BASE
/sql/sql_yacc.cpp
mv
$BASE
/sql/sql_yacc.cpp-new
$BASE
/sql/sql_yacc.cpp
unix_to_dos
$BASE
/README
#
# Search the tree for plain text files and adapt the line end marker
#
find
$BASE
\(
-name
"*.dsp"
-o
-name
"*.dsw"
-o
-name
"*.cnf"
-o
-name
"*.ini"
\
-o
-name
COPYING
-o
-name
ChangeLog
-o
-name
EXCEPTIONS-CLIENT
-o
-name
"INSTALL*"
-o
-name
LICENSE
-o
-name
"README*"
\)
-type
f
-print
\
|
while
read
v
do
unix_to_dos
$v
done
# File extension '.txt' matches too many other files, error messages etc.
unix_to_dos
$BASE
/Docs/
*
.txt
mv
$BASE
/README
$BASE
/README.txt
mv
$BASE
/README
$BASE
/README.txt
#
#
...
...
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