summaryrefslogtreecommitdiffstats
path: root/bin/jenkins_node_wrapper.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-20 21:14:07 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 21:14:10 +0200
commita3afa8e4369c879ea6b25cf9257828eb787d0a07 (patch)
tree7be3b1c53223c2ba927155c873c78a4e6f7c705b /bin/jenkins_node_wrapper.sh
parentf17066d32c0f0cdd49555881564bbc17049e3c43 (diff)
downloadjenkins.debian.net-a3afa8e4369c879ea6b25cf9257828eb787d0a07.tar.xz
d-i-build: fixup f17066d: allow mkdir in /srv/udebs via ssh
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 5eb9e8d5..817e7454 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -89,7 +89,7 @@ elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /var/lib/jenkins/userContent/r
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/udebs/.*/ ]] ; then
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
-elif [[ "$*" =~ mkdir -p /srv/udebs/.* ]] ; then
+elif [[ "$*" =~ mkdir\ -p\ /srv/udebs/.* ]] ; then
exec mkdir -p "$3" ; croak "Exec failed";
elif [[ "$*" =~ rm\ -r\ /srv/reproducible-results/tmp.* ]] ; then
exec rm -r "$3" ; croak "Exec failed";