summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_jdn.sh')
-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