From 5c73bc492e893938055d8d4ed2ae9fa51cee381e Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 1 Jul 2022 22:35:34 -0400 Subject: use lw_version tag on "source" repo --- scripts/prep-librewolf-dpkg.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'scripts/prep-librewolf-dpkg.sh') diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 6e9cd5b..9055c2f 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -79,14 +79,11 @@ test -z "${SKIP_EXTRACT}" && { } # Download git sources -# 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_source_url}" ${git_source_dir}/source || : ; ( cd "${git_source_dir}/source" ; git checkout main ; git pull ; ) +test -z "${SKIP_GIT}" && { + git clone "${librewolf_source_url}" ${git_source_dir}/source || : ; ( cd "${git_source_dir}/source" ; git checkout "${librewolf_version}" ; git pull ; ) 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}" ; ) - -# ) +} ##################################### # Script 1 tasks -- cgit