summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-15 15:29:13 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-15 15:29:13 -0400
commite16c9322a4bc4d25825bfaa3383e52edbb3f770b (patch)
tree286a63b9cbc540b317643ddbd2f1fa33aa1ad826
parentbd0f08c94c3946898ed68627f32f6fa31736d31f (diff)
downloadbuild_tools-e16c9322a4bc4d25825bfaa3383e52edbb3f770b.zip
build_tools-e16c9322a4bc4d25825bfaa3383e52edbb3f770b.tar.gz
build_tools-e16c9322a4bc4d25825bfaa3383e52edbb3f770b.tar.xz
Pipe createrepo output to /dev/null
-rwxr-xr-xsssd-nightly.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/sssd-nightly.sh b/sssd-nightly.sh
index 7c81e8e..debec87 100755
--- a/sssd-nightly.sh
+++ b/sssd-nightly.sh
@@ -64,7 +64,7 @@ cp /var/lib/mock/fedora-11-i386/result/sssd-$rpmversion.fc11.src.rpm /local/sgal
cp /var/lib/mock/fedora-11-i386/result/sssd-debuginfo-$rpmversion.fc11.i586.rpm /local/sgallagh/repos/f11/i386/DEBUGINFO
cp /var/lib/mock/fedora-11-i386/result/sssd-$rpmversion.fc11.i586.rpm /local/sgallagh/repos/f11/i386/RPMS
-createrepo /local/sgallagh/repos/f11/SRPMS
+createrepo /local/sgallagh/repos/f11/SRPMS > /dev/null
if [ $? -eq 0 ]; then
echo "Fedora 11 SRPM Repo updated" >> $LOGFILE
else
@@ -72,14 +72,14 @@ else
fi
-createrepo /local/sgallagh/repos/f11/i386/DEBUGINFO
+createrepo /local/sgallagh/repos/f11/i386/DEBUGINFO > /dev/null
if [ $? -eq 0 ]; then
echo "Fedora 11 i386 DEBUGINFO Repo updated" >> $LOGFILE
else
echo "Fedora 11 i386 DEBUGINFO Repo not updated" >> $LOGFILE
fi
-createrepo /local/sgallagh/repos/f11/i386/RPMS
+createrepo /local/sgallagh/repos/f11/i386/RPMS > /dev/null
if [ $? -eq 0 ]; then
echo "Fedora 11 i386 RPM Repo updated" >> $LOGFILE
else
@@ -92,14 +92,14 @@ mkdir -p /local/sgallagh/repos/f11/x86_64/RPMS
cp /var/lib/mock/fedora-11-x86_64/result/sssd-debuginfo-$rpmversion.fc11.x86_64.rpm /local/sgallagh/repos/f11/x86_64/DEBUGINFO
cp /var/lib/mock/fedora-11-x86_64/result/sssd-$rpmversion.fc11.x86_64.rpm /local/sgallagh/repos/f11/x86_64/RPMS
-createrepo /local/sgallagh/repos/f11/x86_64/DEBUGINFO
+createrepo /local/sgallagh/repos/f11/x86_64/DEBUGINFO > /dev/null
if [ $? -eq 0 ]; then
echo "Fedora 11 x86_64 DEBUGINFO Repo updated" >> $LOGFILE
else
echo "Fedora 11 x86_64 DEBUGINFO Repo not updated" >> $LOGFILE
fi
-createrepo /local/sgallagh/repos/f11/x86_64/RPMS
+createrepo /local/sgallagh/repos/f11/x86_64/RPMS > /dev/null
if [ $? -eq 0 ]; then
echo "Fedora 11 x86_64 RPM Repo updated" >> $LOGFILE
else
@@ -124,21 +124,21 @@ cp /var/lib/mock/epel-5-i386/result/sssd-$rpmversion.el5.src.rpm /local/sgallagh
cp /var/lib/mock/epel-5-i386/result/sssd-debuginfo-$rpmversion.el5.i386.rpm /local/sgallagh/repos/rhel5/i386/DEBUGINFO
cp /var/lib/mock/epel-5-i386/result/sssd-$rpmversion.el5.i386.rpm /local/sgallagh/repos/rhel5/i386/RPMS
-createrepo -s sha1 /local/sgallagh/repos/rhel5/SRPMS
+createrepo -s sha1 /local/sgallagh/repos/rhel5/SRPMS > /dev/null
if [ $? -eq 0 ]; then
echo "RHEL5 SRPM Repo updated" >> $LOGFILE
else
echo "RHEL5 SRPM Repo not updated" >> $LOGFILE
fi
-createrepo -s sha1 /local/sgallagh/repos/rhel5/i386/DEBUGINFO
+createrepo -s sha1 /local/sgallagh/repos/rhel5/i386/DEBUGINFO > /dev/null
if [ $? -eq 0 ]; then
echo "RHEL5 i386 DEBUGINFO Repo updated" >> $LOGFILE
else
echo "RHEL5 i386 DEBUGINFO Repo not updated" >> $LOGFILE
fi
-createrepo -s sha1 /local/sgallagh/repos/rhel5/i386/RPMS
+createrepo -s sha1 /local/sgallagh/repos/rhel5/i386/RPMS > /dev/null
if [ $? -eq 0 ]; then
echo "RHEL5 i386 RPM Repo updated" >> $LOGFILE
else
@@ -151,14 +151,14 @@ mkdir -p /local/sgallagh/repos/rhel5/x86_64/RPMS
cp /var/lib/mock/epel-5-x86_64/result/sssd-debuginfo-$rpmversion.el5.x86_64.rpm /local/sgallagh/repos/rhel5/x86_64/DEBUGINFO
cp /var/lib/mock/epel-5-x86_64/result/sssd-$rpmversion.el5.x86_64.rpm /local/sgallagh/repos/rhel5/x86_64/RPMS
-createrepo -s sha1 /local/sgallagh/repos/rhel5/x86_64/DEBUGINFO
+createrepo -s sha1 /local/sgallagh/repos/rhel5/x86_64/DEBUGINFO > /dev/null
if [ $? -eq 0 ]; then
echo "RHEL5 x86_64 DEBUGINFO Repo updated" >> $LOGFILE
else
echo "RHEL5 x86_64 DEBUGINFO Repo not updated" >> $LOGFILE
fi
-createrepo -s sha1 /local/sgallagh/repos/rhel5/x86_64/RPMS
+createrepo -s sha1 /local/sgallagh/repos/rhel5/x86_64/RPMS > /dev/null
if [ $? -eq 0 ]; then
echo "RHEL5 x86_64 RPM Repo updated" >> $LOGFILE
else