diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-22 12:07:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-22 12:07:22 +0000 |
commit | a59aa00d8aeea39a6360d9be12ffee564802c63c (patch) | |
tree | 646e082ab91d6db35f1e3e744d1f202e77cbc36e /scripts/setup | |
parent | 58e69d174512e267079ebb6afc60dd097070bf35 (diff) | |
download | gitlab-ce-a59aa00d8aeea39a6360d9be12ffee564802c63c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/setup')
-rwxr-xr-x | scripts/setup/as-if-jh.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/setup/as-if-jh.sh b/scripts/setup/as-if-jh.sh index 70bfdd7b484..445a988b996 100755 --- a/scripts/setup/as-if-jh.sh +++ b/scripts/setup/as-if-jh.sh @@ -21,8 +21,7 @@ download_jh_path() { curl --location --output "${output}" --header "Private-Token: ${ADD_JH_FILES_TOKEN}" --get --data-urlencode "sha=${JH_BRANCH}" --data-urlencode "path=${path}" "https://gitlab.com/api/v4/projects/${GITLAB_JH_MIRROR_PROJECT}/repository/archive" - tar -zxf "${output}" + tar -zxf "${output}" --strip-component 1 rm "${output}" - mv gitlab-"${JH_BRANCH}"-*/"${path}" ./ done } |