From 9423e9db41280339ea89b40bf93ad52f013a0e05 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Sat, 8 Jan 2022 20:28:17 +0100 Subject: [PATCH] refactor to source_build --- scripts/fetch-build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/fetch-build.sh b/scripts/fetch-build.sh index 3610987..9fc2aef 100644 --- a/scripts/fetch-build.sh +++ b/scripts/fetch-build.sh @@ -3,15 +3,15 @@ set -e fetch_and_extract() { - rm -rf version release + rm -rf version source_release wget -q -O version "https://gitlab.com/librewolf-community/browser/source/-/raw/main/version" - wget -q -O release "https://gitlab.com/librewolf-community/browser/source/-/raw/main/release" + wget -q -O source_release "https://gitlab.com/librewolf-community/browser/source/-/raw/main/release" - rm -f "librewolf-$(cat version)-$(cat release).source.tar.gz" - wget -O "librewolf-$(cat version)-$(cat release).source.tar.gz" "https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$(cat version)-$(cat release).source.tar.gz?job=build-job" + rm -f "librewolf-$(cat version)-$(cat source_release).source.tar.gz" + wget -O "librewolf-$(cat version)-$(cat source_release).source.tar.gz" "https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$(cat version)-$(cat source_release).source.tar.gz?job=build-job" rm -rf librewolf-$(cat version) - tar xf librewolf-$(cat version)-$(cat release).source.tar.gz + tar xf librewolf-$(cat version)-$(cat source_release).source.tar.gz # here would be a great spot to insert system dependent stuff like mozconfig/patches. }