diff options
author | Michael Adam <obnox@samba.org> | 2020-03-20 17:00:11 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2020-03-20 17:43:33 +0100 |
commit | 087a64b1aeafe15a45fe7ed6a9a10b4b4bd31a9e (patch) | |
tree | defa82777bbf50e0e9698b8e72d34e602419a6e0 | |
parent | c2e9d2881588bee65e0f63d98cb79f3a72d12163 (diff) | |
download | samba-integration-087a64b1aeafe15a45fe7ed6a9a10b4b4bd31a9e.tar.gz samba-integration-087a64b1aeafe15a45fe7ed6a9a10b4b4bd31a9e.tar.xz samba-integration-087a64b1aeafe15a45fe7ed6a9a10b4b4bd31a9e.zip |
centos-ci: protect a variable expansions with quotes
Signed-off-by: Michael Adam <obnox@samba.org>
-rwxr-xr-x | samba-integration-centos-ci-tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samba-integration-centos-ci-tests.sh b/samba-integration-centos-ci-tests.sh index cc05dca..933b02b 100755 --- a/samba-integration-centos-ci-tests.sh +++ b/samba-integration-centos-ci-tests.sh @@ -52,8 +52,8 @@ cd "${GIT_REPO_NAME}" # by default we clone the master branch, but maybe this was triggered through a PR? if [ -n "${ghprbPullId}" ] then - git fetch origin pull/${ghprbPullId}/head:pr_${ghprbPullId} - git checkout pr_${ghprbPullId} + git fetch origin "pull/${ghprbPullId}/head:pr_${ghprbPullId}" + git checkout "pr_${ghprbPullId}" git rebase master if [ $? -ne 0 ] ; then |