From a71919bed9afb21d2d5d3e97fdb2ffff0407737c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 20 Jul 2024 18:01:08 +0000 Subject: [PATCH] Made small change to prepare() --- source.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source.sh b/source.sh index 379fc66..422ac94 100644 --- a/source.sh +++ b/source.sh @@ -7,9 +7,8 @@ REPO="https://gitlab.com/EnumDev/stormfetch.git" # The prepare function is executed in the root of the temp directory # This function is used for downloading files and putting them into the correct location prepare() { - git clone "$REPO" "$BPM_SOURCE" + git clone --branch "${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE" cd "$BPM_SOURCE" - git checkout tags/"$BPM_PKG_VERSION" } # The build function is executed in the source directory