summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-12-01 16:51:06 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-01 16:51:06 -0500
commit5919827dfb25cf0191e28b35c9f2e79c57aa6c96 (patch)
treefb513fc9a2c5bfc556a0a56cfe8de996ff71e5da
parent43c9c2985ade394f12c5daefb9d68c89e0356573 (diff)
downloadbuild_tools-5919827dfb25cf0191e28b35c9f2e79c57aa6c96.zip
build_tools-5919827dfb25cf0191e28b35c9f2e79c57aa6c96.tar.gz
build_tools-5919827dfb25cf0191e28b35c9f2e79c57aa6c96.tar.xz
Don't truncate logs
-rwxr-xr-xsssd-nightly.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sssd-nightly.sh b/sssd-nightly.sh
index 2db8757..ebdbda2 100755
--- a/sssd-nightly.sh
+++ b/sssd-nightly.sh
@@ -49,12 +49,12 @@ fi
LOGFILE=/local/sgallagh/logs/nightly-$datestamp.log
-echo "===== BUILD STARTED AT `date` =====" > $LOGFILE
+echo "===== BUILD STARTED AT `date` =====" >> $LOGFILE
-echo "===== Cleaning old logs =====" > $LOGFILE
+echo "===== Cleaning old logs =====" >> $LOGFILE
find /local/sgallagh/logs -type f -daystart -ctime +6 -name "nightly-*.log" -exec rm -f {} \; || finish 96
-echo "===== Cleaning old RPMS =====" > $LOGFILE
+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
@@ -80,7 +80,7 @@ if [ x$scratch_build == x ]; then
fi
fi
-echo "===== Summary of Commits =====" > $LOGFILE
+echo "===== Summary of Commits =====" >> $LOGFILE
git shortlog HEAD ^$old_commit_id >> $LOGFILE
cd /local/sgallagh/sssd-$datestamp