From c97711413c9190b21a9165444fdc8c39700fb53d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 20 Jun 2016 23:37:55 +0200 Subject: d-i iso tests: fix allowed command --- bin/jenkins_node_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index d00ebacc..c26d45f1 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -87,7 +87,7 @@ elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/reproducible-results/.* ] exec rsync --server --sender "$4" . "$6" ; croak "Exec failed"; elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /var/lib/jenkins/userContent/reproducible/.* ]] ; then exec rsync --server --sender "$4" . "$6" ; croak "Exec failed"; -elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/d-i/isos/.*/ ]] ; then +elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/d-i/isos/ ]] ; then exec rsync --server --sender "$4" . "$6" ; croak "Exec failed"; elif [[ "$*" =~ mkdir\ -p\ /srv/d-i/isos/.* ]] ; then exec mkdir -p "$3" ; croak "Exec failed"; -- cgit v1.2.3-70-g09d2