diff options
author | sasha@mysql.sashanet.com <> | 2002-03-01 19:36:46 -0700 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2002-03-01 19:36:46 -0700 |
commit | aa67831207689d9f4c2579508f8c0b9fd91135b7 (patch) | |
tree | dd5cbc9c1cf52f454bd88e24e1401696ae7da26c /Build-tools/Do-rpm | |
parent | fdb0e646cd9c1267dc83871e50bdc03875ec3636 (diff) | |
parent | 8c01c96f90c3d017864c34c55a75a10514be00f9 (diff) | |
download | mariadb-git-aa67831207689d9f4c2579508f8c0b9fd91135b7.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
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 ##### |