diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-09 16:39:12 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-09 16:39:12 +0200 |
commit | 7eafec6d9f22e92f0546841e0350730088b54b7c (patch) | |
tree | 30d354e4fb706a116ef9422a34b09551e810d91e | |
parent | d468096d62e880850e14a27d995dde1766dee2f5 (diff) | |
download | jenkins.debian.net-7eafec6d9f22e92f0546841e0350730088b54b7c.tar.xz |
improve output when run in a loop
-rwxr-xr-x | update_jdn.sh | 4 |
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 "--------------------------------------------" + |