summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-05 12:03:22 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-05 12:03:22 +0200
commitd6ec49d88639dedf0ad21feabcca55b2d680bbbc (patch)
treeb7c40846d34f7ce4d17585253d72aec2175707f1
parent08ac3c6c88b64cd562a9c9a6bc34a76df057bdbf (diff)
downloadjenkins.debian.net-d6ec49d88639dedf0ad21feabcca55b2d680bbbc.tar.xz
avoid warning from mkdir
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 47920e60..68e686ea 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -225,7 +225,7 @@ for dir in bin logparse job-cfg features live ; do
cp --preserve=mode,timestamps -r $dir /srv/jenkins/
chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
done
-mkdir /var/lib/jenkins/.ssh
+mkdir -p /var/lib/jenkins/.ssh
cp jenkins-home/procmailrc /var/lib/jenkins/.procmailrc
cp jenkins-home/authorized_keys /var/lib/jenkins/.ssh/authorized_keys
chown -R jenkins:jenkins /var/lib/jenkins/.ssh