Made small change to prepare()
This commit is contained in:
@@ -7,9 +7,8 @@ REPO="https://gitlab.com/EnumDev/stormfetch.git"
|
|||||||
# The prepare function is executed in the root of the temp directory
|
# 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
|
# This function is used for downloading files and putting them into the correct location
|
||||||
prepare() {
|
prepare() {
|
||||||
git clone "$REPO" "$BPM_SOURCE"
|
git clone --branch "${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
git checkout tags/"$BPM_PKG_VERSION"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user