diff options
author | B. Stack <bgstack15@gmail.com> | 2021-11-17 21:27:24 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-11-17 21:27:24 -0500 |
commit | 01c9f5f70bf488987f017bb0fd7009ab9c3fdc33 (patch) | |
tree | 58801b2d52ecc8c9d0015ccdeb8cba87b39b371f /scripts | |
parent | fix path for patched file (diff) | |
download | librewolf-debian-01c9f5f70bf488987f017bb0fd7009ab9c3fdc33.tar.gz librewolf-debian-01c9f5f70bf488987f017bb0fd7009ab9c3fdc33.tar.bz2 librewolf-debian-01c9f5f70bf488987f017bb0fd7009ab9c3fdc33.zip |
fix how git is used
So it always uses git checkout v$VERSION
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 5977b1d..146a8c7 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -82,9 +82,9 @@ test -z "${SKIP_EXTRACT}" && { # test -z "${SKIP_GIT}" && ( # yes, use a sub-shell because of this cd. pushd is a bash builtin, but we are using sh and not bash. # cd "${git_source_dir}" - git clone "${librewolf_common_url}" ${git_source_dir}/common || ( cd "${git_source_dir}/common" ; git checkout master ; git pull ; git checkout "v${librewolf_version}" ; ) - git clone "${librewolf_settings_url}" ${git_source_dir}/settings || ( cd "${git_source_dir}/settings" ; git checkout master ; git pull ; ) - git clone "${librewolf_linux_url}" ${git_source_dir}/linux || ( cd "${git_source_dir}/linux" ; git checkout master ; git pull ; git checkout "v${librewolf_version}" ; ) + git clone "${librewolf_common_url}" ${git_source_dir}/common ; ( cd "${git_source_dir}/common" ; git checkout master ; git pull ; git checkout "v${librewolf_version}" ; ) + git clone "${librewolf_settings_url}" ${git_source_dir}/settings ; ( cd "${git_source_dir}/settings" ; git checkout master ; git pull ; ) + git clone "${librewolf_linux_url}" ${git_source_dir}/linux ; ( cd "${git_source_dir}/linux" ; git checkout master ; git pull ; git checkout "v${librewolf_version}" ; ) # ) |