summaryrefslogtreecommitdiff
path: root/Build-tools/Do-rpm
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-02 23:14:48 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-02 23:14:48 +0300
commit32bc9157e586ba6f4ba901168d7014449f3a8e66 (patch)
tree3a072260e4a7132d69f0c7c1e85a936c817c959e /Build-tools/Do-rpm
parentabf1b80cf457702fd883c3a17b1d9eaed1c7c6b6 (diff)
downloadmariadb-git-32bc9157e586ba6f4ba901168d7014449f3a8e66.tar.gz
Portability fix
Diffstat (limited to 'Build-tools/Do-rpm')
-rwxr-xr-xBuild-tools/Do-rpm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build-tools/Do-rpm b/Build-tools/Do-rpm
index 138953ab188..046ba93a1dd 100755
--- a/Build-tools/Do-rpm
+++ b/Build-tools/Do-rpm
@@ -210,7 +210,7 @@ if [ $? != 0 ]; then
tail $log
fi
-if [ ! x$local_build=x1 ]; then
+if [ x$local_build != x1 ]; then
# Build perl RPM (we currently need to be root to do this and that is
# not possible)
@@ -228,5 +228,3 @@ if [ ! x$local_build=x1 ]; then
#scp $owner@$bmachine:$rpmdir/SRPMS/Perl*-*.rpm $bpath/NEW-RPMS
fi
) > $log 2>&1
-
-