summaryrefslogtreecommitdiffstats
path: root/sssd-nightly.sh
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-05 10:31:35 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-05 10:31:35 -0500
commitf229513c677f6a3f702ddeb785a3fbbcfb2d60dc (patch)
tree2f9a9922cd77d4c35d2674038a027a7d73bda282 /sssd-nightly.sh
parentd4e66e88e1c4673392833577343490bfb84da97a (diff)
downloadbuild_tools-f229513c677f6a3f702ddeb785a3fbbcfb2d60dc.zip
build_tools-f229513c677f6a3f702ddeb785a3fbbcfb2d60dc.tar.gz
build_tools-f229513c677f6a3f702ddeb785a3fbbcfb2d60dc.tar.xz
Clean F12 builds
Diffstat (limited to 'sssd-nightly.sh')
-rwxr-xr-xsssd-nightly.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/sssd-nightly.sh b/sssd-nightly.sh
index 368cf07..79a85e4 100755
--- a/sssd-nightly.sh
+++ b/sssd-nightly.sh
@@ -52,11 +52,12 @@ LOGFILE=/local/sgallagh/logs/nightly-$datestamp.log
echo "===== BUILD STARTED AT `date` =====" >> $LOGFILE
echo "===== Cleaning old logs =====" >> $LOGFILE
-find /local/sgallagh/logs -type f -daystart -ctime +6 -name "nightly-*.log" -exec rm -f {} \; || finish 96
+find /local/sgallagh/logs -type f -daystart -ctime +6 -name "nightly-*.log" -exec rm -f {} \; || finish 40
echo "===== Cleaning old RPMS =====" >> $LOGFILE
-find /local/sgallagh/repos/f11 -type f -daystart -ctime +6 -name "sssd-*" -exec rm -f {} \; || finish 98
-find /local/sgallagh/repos/rhel5 -type f -daystart -ctime +6 -name "sssd-*" -exec rm -f {} \; || finish 99
+find /local/sgallagh/repos/f11 -type f -daystart -ctime +6 -name "sssd-*" -exec rm -f {} \; || finish 50
+find /local/sgallagh/repos/f12 -type f -daystart -ctime +6 -name "sssd-*" -exec rm -f {} \; || finish 51
+find /local/sgallagh/repos/rhel5 -type f -daystart -ctime +6 -name "sssd-*" -exec rm -f {} \; || finish 52
echo "===== CHECKING OUT CODE =====" >> $LOGFILE
rm -Rf sssd-$datestamp #Remove an incomplete previous run