diff options
author | unknown <sasha@mysql.sashanet.com> | 2002-03-01 19:36:46 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2002-03-01 19:36:46 -0700 |
commit | 2c9879ca0cfd319e939835816cd4501b1d097b0a (patch) | |
tree | dd5cbc9c1cf52f454bd88e24e1401696ae7da26c /Build-tools/Do-rpm | |
parent | 80d375b1566da63bbfcaed6d4ab339ae4add5b04 (diff) | |
parent | 1dd4cf0295fcc176ff4ea314afb4ceb8910792ce (diff) | |
download | mariadb-git-2c9879ca0cfd319e939835816cd4501b1d097b0a.tar.gz |
merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty
gets back
BitKeeper/etc/logging_ok:
auto-union
Build-tools/Do-all-build-steps:
Auto merged
Build-tools/Do-compile:
Auto merged
Build-tools/Do-rpm:
Auto merged
Docs/manual.texi:
Auto merged
include/hash.h:
Auto merged
include/my_sys.h:
Auto merged
innobase/dict/dict0dict.c:
Auto merged
mysys/array.c:
Auto merged
mysys/hash.c:
Auto merged
mysys/mf_qsort.c:
Auto merged
sql/sql_base.cc:
Auto merged
sql/table.cc:
Auto merged
strings/Makefile.am:
Auto merged
client/mysql.cc:
merged from 3.23
configure.in:
merged from 3.23
mysql-test/mysql-test-run.sh:
merged from 3.23
sql/mysqld.cc:
merged from 3.23
support-files/mysql.spec.sh:
merged from 3.23
Diffstat (limited to 'Build-tools/Do-rpm')
-rwxr-xr-x | Build-tools/Do-rpm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Build-tools/Do-rpm b/Build-tools/Do-rpm index 6ce8c9c3e45..92d47a8b871 100755 --- a/Build-tools/Do-rpm +++ b/Build-tools/Do-rpm @@ -40,7 +40,21 @@ owner=my # Hard path!! bpath=`/bin/pwd` -rpmdir="/usr/src/redhat" + +for d in /usr/src/redhat /usr/src/packages ; do +if test -d "$d" +then + rpmdir=$d +fi +done + +if test -z "$rpmdir" +then + echo "Could not find suitable rpmdir on this system" + exit 1 +fi + + logdir="$bpath/Logs" ###### Perl STUFF ##### |