From 8a1a13a2eeb76411cf95abfe3facbf3d635e0f26 Mon Sep 17 00:00:00 2001 From: FiorenMas <102145692+FiorenMas@users.noreply.github.com> Date: Tue, 11 Apr 2023 13:16:13 +0700 Subject: [PATCH] Update patch.sh --- patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch.sh b/patch.sh index 0446d70..493f516 100644 --- a/patch.sh +++ b/patch.sh @@ -16,7 +16,7 @@ get_patch() { local included_start=$(grep -n -m1 'INCLUDE PATCHES' "$patch_file" | cut -d':' -f1) local excluded_patches=$(tail -n +$excluded_start $patch_file | head -n "$(( included_start - excluded_start ))" | grep '^[^#[:blank:]]') local included_patches=$(tail -n +$included_start $patch_file | grep '^[^#[:blank:]]') - local patches=() + patches=() if [[ -n "$excluded_patches" ]]; then while read -r patch; do patches+=("-e $patch")