[Qa-jenkins-scm] [jenkins.debian.net] 01/01: more sudo and fixup quoting

Holger Levsen holger at moszumanska.debian.org
Thu Jul 30 12:01:12 UTC 2015


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 79cab1ad5d40eaae455f38499e3bb25f1b4f3620
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 30 14:00:12 2015 +0200

    more sudo and fixup quoting
---
 update_jdn.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index ec3c886..f831d70 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -67,7 +67,7 @@ for directory in /srv/jenkins ; do
 done
 
 if ! test -h /chroots; then
-	rmdir /chroots || rm -f /chroots # do not recurse
+	sudo rmdir /chroots || sudo rm -f /chroots # do not recurse
 	if test -e /chroots; then
 		explain "could not clear /chroots"
 	else
@@ -205,7 +205,7 @@ if [ -f /etc/debian_version ] ; then
 		else
 			MASTERDEBS=""
 		fi
-		sudo apt-get install "$DEBS $MASTERDEBS"
+		sudo apt-get install $DEBS $MASTERDEBS
 		sudo apt-get install -t jessie-backports \
 				pbuilder
 		#		botch

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