[Qa-jenkins-scm] [jenkins.debian.net] 01/01: explain how to use $UP2DATE

Holger Levsen holger at layer-acht.org
Wed Jul 13 22:11:26 UTC 2016


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 689c64d7d1017f88fa4dad8a593b8c4bbc03994b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 14 00:11:22 2016 +0200

    explain how to use $UP2DATE
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 286bad9..f375e2e 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -567,7 +567,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
 	    figlet -f banner Error
 	    explain "you must set \$PVNAME to physical volume pathname, exiting."
 	    exit 1
-	else
+	elif ! $UP2DATE ; then
 	    if ! sudo pvs $PVNAME >/dev/null 2>&1; then
 	        sudo pvcreate $PVNAME
 	    fi

-- 
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