From 64dd1fc40596cc6e981eb3acb245e66a981044df Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 30 Mar 2019 21:21:06 -0500 Subject: [PATCH] Instead of removing britney_output on each run, just create a new timestamp. --- run-ppa-britney | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-ppa-britney b/run-ppa-britney index 33f2cd5..c271163 100755 --- a/run-ppa-britney +++ b/run-ppa-britney @@ -1,7 +1,10 @@ #!/bin/bash for RELEASE in $RELEASES; do + export BRITNEY_TIMESTAMP=$(date +"%Y-%m-%d_%H:%M:%S") + echo "Release: $RELEASE"; + echo "Timestamp: $BRITNEY_TIMESTAMP" if [ $ARCHIVE_TYPE = "ppa" ]; then export SOURCE_PPA_URL="http://ppa.launchpad.net/$LP_TEAM/$SOURCE_PPA/ubuntu/dists/$RELEASE/main"; @@ -32,5 +35,4 @@ for RELEASE in $RELEASES; do fi fi done < candidates; - rm -rf britney_output/; done