summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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