summaryrefslogtreecommitdiff
path: root/Build-tools/Do-rpm
diff options
context:
space:
mode:
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
-
-