summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-05-18 17:13:31 -0700
committerunknown <jimw@mysql.com>2005-05-18 17:13:31 -0700
commit744eef114d880ee4e9fdcf172cf192e0f4094da1 (patch)
treec740a12e239b2b930d23bdca85357315f1680f5a /scripts
parentbb5884e237822d4fa72b3bab524867ed9240a14c (diff)
parent6b16cc5f96e3f9c2056544264566d04cf6358d3b (diff)
downloadmariadb-git-744eef114d880ee4e9fdcf172cf192e0f4094da1.tar.gz
Merge mysql.com:/home/jimw/my/mysql-5.0-build
into mysql.com:/home/jimw/my/mysql-5.0-clean mysys/default.c: Auto merged server-tools/instance-manager/commands.cc: Auto merged
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_binary_distribution.sh2
-rw-r--r--scripts/make_win_src_distribution.sh14
2 files changed, 9 insertions, 7 deletions
diff --git a/scripts/make_binary_distribution.sh b/scripts/make_binary_distribution.sh
index d273e67ec01..ecfe9e8be88 100644
--- a/scripts/make_binary_distribution.sh
+++ b/scripts/make_binary_distribution.sh
@@ -315,7 +315,7 @@ system=`echo $system | sed -e 's/solaris2.\([0-9]*\)/solaris\1/g'`
system=`echo $system | sed -e 's/sco3.2v\(.*\)/openserver\1/g'`
# Use the override --machine if present
-if [ -n $MACHINE ] ; then
+if [ -n "$MACHINE" ] ; then
machine=$MACHINE
fi
diff --git a/scripts/make_win_src_distribution.sh b/scripts/make_win_src_distribution.sh
index 8fdf23f3119..6165a31fac2 100644
--- a/scripts/make_win_src_distribution.sh
+++ b/scripts/make_win_src_distribution.sh
@@ -199,11 +199,10 @@ copy_dir_files()
print_debug "Creating directory '$arg'"
mkdir $BASE/$arg
fi
- for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp \
- README INSTALL* LICENSE *.inc *.test *.result \
- *.pem Moscow_leap des_key_file *.dat *.000001 \
- *.require *.opt
-
+ for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp *.dsw \
+ README INSTALL* LICENSE AUTHORS NEWS ChangeLog \
+ *.inc *.test *.result *.pem Moscow_leap des_key_file \
+ *.dat *.000001 *.require *.opt
do
if [ -f $i ]
then
@@ -234,6 +233,7 @@ copy_dir_dirs() {
find $arg -type d \
-and -not -path \*SCCS\* \
-and -not -path \*.deps\* \
+ -and -not -path \*.libs\* \
-and -not -path \*autom4te.cache -print
)|(
while read v
@@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze
# Input directories to be copied recursively
#
-for i in bdb innobase ndb
+for i in bdb innobase ndb extra/yassl
do
copy_dir_dirs $i
done
@@ -328,6 +328,8 @@ do
$CP -R $i $BASE/$i
fi
fi
+ # But remove object files from destination
+ find $BASE/$i -type f -name \*.o | xargs rm -f
done
#