summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-04 15:51:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-04 15:51:32 +0200
commit6bf5d85da0788c58b07419d17b10c314fed63ed8 (patch)
treedecdda42392fb08222e38af25583ab569c695742
parent54d9fa54788833b36e786c1ad308d5cd3b144029 (diff)
downloadjenkins.debian.net-6bf5d85da0788c58b07419d17b10c314fed63ed8.tar.xz
fixup 512a6eb6: create /chroot if it doesnt exist
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 46ad459a..ef660907 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -42,7 +42,7 @@ done
sudo mkdir -p /srv/workspace
[ -d /srv/workspace/pbuilder ] || sudo mkdir -p /srv/workspace/pbuilder
-[ -l chroots ] || (sudo mkdir /srv/workspace/chroots ; sudo ln -s /srv/workspace/chroots chroots )
+[ -h /chroots ] || ( sudo mkdir /srv/workspace/chroots ; sudo ln -s /srv/workspace/chroots chroots )
if [ "$HOSTNAME" = "jenkins" ] ; then
if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then