diff options
-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 |