diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-20 21:14:07 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-20 21:14:10 +0200 |
commit | a3afa8e4369c879ea6b25cf9257828eb787d0a07 (patch) | |
tree | 7be3b1c53223c2ba927155c873c78a4e6f7c705b /bin | |
parent | f17066d32c0f0cdd49555881564bbc17049e3c43 (diff) | |
download | jenkins.debian.net-a3afa8e4369c879ea6b25cf9257828eb787d0a07.tar.xz |
d-i-build: fixup f17066d: allow mkdir in /srv/udebs via ssh
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 2 |
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"; |