Update utils.sh

This commit is contained in:
Fioren
2024-02-06 12:51:40 +07:00
committed by GitHub
parent 441855b548
commit 4d2384f2ee

View File

@@ -62,21 +62,6 @@ dl_gh() {
#################################################
# Get patches list:
get_patches_key() {
excludePatches=""
includePatches=""
while IFS= read -r line1; do
excludePatches+=" -e \"$line1\""
done < src/patches/$1/exclude-patches
export excludePatches
while IFS= read -r line2; do
includePatches+=" -i \"$line2\""
done < src/patches/$1/include-patches
export includePatches
}
#################################################
# Get patches list:
get_patches_key() {
excludePatches=""
@@ -263,4 +248,4 @@ _split_arch() {
exit 1
fi
}
#################################################
#################################################