Made small change to prepare()

This commit is contained in:
2024-07-20 18:01:08 +00:00
parent a16b4730a3
commit a71919bed9
+1 -2
View File
@@ -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