summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-07-01 22:35:34 -0400
committerB. Stack <bgstack15@gmail.com>2022-07-01 22:35:34 -0400
commit5c73bc492e893938055d8d4ed2ae9fa51cee381e (patch)
treef58a9f04db980828fc553a6e20cf1b25a37a3426
parentmove webrender_ffi.patch to debian d/series (diff)
downloadlibrewolf-debian-5c73bc492e893938055d8d4ed2ae9fa51cee381e.tar.gz
librewolf-debian-5c73bc492e893938055d8d4ed2ae9fa51cee381e.tar.bz2
librewolf-debian-5c73bc492e893938055d8d4ed2ae9fa51cee381e.zip
use lw_version tag on "source" repo
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh9
1 files changed, 3 insertions, 6 deletions
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
bgstack15