summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-16 11:27:06 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-16 11:27:06 -0400
commitcab74667990baf116996737a1a98a0c188826439 (patch)
tree82cf637934f7af6aef91dc92f847da8e49c5bdb9
parent4e8b010e6345f9322482765f71e603df073f4254 (diff)
downloadbuild_tools-cab74667990baf116996737a1a98a0c188826439.zip
build_tools-cab74667990baf116996737a1a98a0c188826439.tar.gz
build_tools-cab74667990baf116996737a1a98a0c188826439.tar.xz
Add missing parentheses
-rwxr-xr-xsssd-nightly.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sssd-nightly.sh b/sssd-nightly.sh
index df992ff..93eb435 100755
--- a/sssd-nightly.sh
+++ b/sssd-nightly.sh
@@ -53,10 +53,10 @@ cd rpmbuild/SRPMS
echo "===== BUILDING FEDORA 11 i586 =====" >> $LOGFILE
mock -r fedora-11-i386 sssd-$rpmversion.fc11.src.rpm >> $LOGFILE 2>&1 || \
- cat /var/lib/mock/fedora-11-i386/result/build.log >> $LOGFILE && finish 4
+ (cat /var/lib/mock/fedora-11-i386/result/build.log >> $LOGFILE ; finish 4)
echo "===== BUILDING FEDORA 11 x86_64 =====" >> $LOGFILE
mock -r fedora-11-x86_64 sssd-$rpmversion.fc11.src.rpm >> $LOGFILE 2>&1 || \
- cat /var/lib/mock/fedora-11-x86_64/result/build.log >> $LOGFILE && finish 5
+ (cat /var/lib/mock/fedora-11-x86_64/result/build.log >> $LOGFILE ; finish 5)
echo "===== CREATING FEDORA 11 i586 YUM REPOSITORY ====" >> $LOGFILE
mkdir -p /local/sgallagh/repos/f11/SRPMS
@@ -113,10 +113,10 @@ cd /local/sgallagh/sssd-$datestamp/rpmbuild/SRPMS
mv sssd-$rpmversion.fc11.src.rpm \
sssd-$rpmversion.el5.src.rpm
mock -r epel-5-i386 sssd-$rpmversion.el5.src.rpm >> $LOGFILE 2>&1 || \
- cat /var/lib/mock/epel-5-i386/result/build.log >> $LOGFILE && finish 6
+ (cat /var/lib/mock/epel-5-i386/result/build.log >> $LOGFILE ; finish 6)
echo "===== BUILDING RHEL 5 x86_64 =====" >> $LOGFILE
mock -r epel-5-x86_64 sssd-$rpmversion.el5.src.rpm >> $LOGFILE 2>&1 || \
- cat /var/lib/mock/epel-5-x86_64/result/build.log >> $LOGFILE && finish 7
+ (cat /var/lib/mock/epel-5-x86_64/result/build.log >> $LOGFILE ; finish 7)
echo "===== CREATING RHEL 5 i586 YUM REPOSITORY ====" >> $LOGFILE
mkdir -p /local/sgallagh/repos/rhel5/SRPMS