summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-09 16:39:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-09 16:39:12 +0200
commit7eafec6d9f22e92f0546841e0350730088b54b7c (patch)
tree30d354e4fb706a116ef9422a34b09551e810d91e
parentd468096d62e880850e14a27d995dde1766dee2f5 (diff)
downloadjenkins.debian.net-7eafec6d9f22e92f0546841e0350730088b54b7c.tar.xz
improve output when run in a loop
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 3 insertions, 1 deletions
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 "--------------------------------------------"
+