From 7eafec6d9f22e92f0546841e0350730088b54b7c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 9 Aug 2015 16:39:12 +0200 Subject: improve output when run in a loop --- update_jdn.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index fc36f537..1697fdaf 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -10,10 +10,10 @@ STAMP=/var/log/jenkins/update-jenkins.stamp TMPFILE=$(mktemp) explain() { - echo echo "$HOSTNAME: $1" } +echo "--------------------------------------------" explain "$(date) - begin deployment update." # # set up users and groups @@ -393,3 +393,5 @@ rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo sudo touch $STAMP # so on the next run, only configs newer than this file will be updated rm -f $TMPFILE explain "$(date) - finished deployment." +echo "--------------------------------------------" + -- cgit v1.2.3-70-g09d2