[Qa-jenkins-scm] [jenkins.debian.net] 01/01: always cleanup $TMPFILE, thanks willdye

Holger Levsen holger at layer-acht.org
Mon May 1 20:56:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit d59867ba04de5d9dae454c3fca4b3354a0807ede
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon May 1 22:56:18 2017 +0200

    always cleanup $TMPFILE, thanks willdye
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 2b58adf..1416532 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -788,7 +788,6 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
 		fi
 		echo
 	fi
-	rm -f $TMPFILE
 fi
 
 #
@@ -796,6 +795,7 @@ fi
 #
 sudo touch $STAMP	# so on the next run, only configs newer than this file will be updated
 explain "$(date) - finished deployment."
+rm -f $TMPFILE
 
 # finally!
 case $HOSTNAME in

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list