summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 03:13:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 03:13:32 +0100
commitdec5f1141adde867fd96ca2711cf9147ffda32d1 (patch)
tree4ac712a7da2f9ba16669bc6ac3468e0f8b98ed20
parentec837ba6ebe1431eb60862a7e992baf57d5cbf9d (diff)
downloadbuildscripts-dec5f1141adde867fd96ca2711cf9147ffda32d1.tar.gz
buildscripts-dec5f1141adde867fd96ca2711cf9147ffda32d1.tar.bz2
buildscripts-dec5f1141adde867fd96ca2711cf9147ffda32d1.zip
don't create non-0 exit codes...
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index a87e152..c0456b8 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -178,7 +178,7 @@ build_packages() {
PKG_RELEASE=$(cat $PROJECT.spec | egrep "^Release:.*" | awk '{ print $2 }')
PKG_SRCRELEASE=$(echo $PKG_RELEASE | sed -e 's/%{?dist}//')
- IS_NOARCH=$(cat $PROJECT.spec | egrep "^BuildArch:.*noarch\$" 1>/dev/null 2>/dev/null && echo yes)
+ IS_NOARCH=$(cat $PROJECT.spec | egrep "^BuildArch:.*noarch\$" 1>/dev/null 2>/dev/null && echo yes || echo no)
if [ "$COMPONENT" = "$COMPONENT_NIGHTLY" ]; then
IS_RELEASE="0"