From 81f793ed34484c29f999888d679a6e22f5ebdc94 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Thu, 24 Mar 2022 20:29:25 +0100 Subject: [PATCH] fix export error --- export-all-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-all-patch.sh b/export-all-patch.sh index 20cec5e..e08f488 100644 --- a/export-all-patch.sh +++ b/export-all-patch.sh @@ -37,7 +37,7 @@ PATCH_LIST=~/bromite/build/bromite_patches_list.txt mkdir ~/bromite/build/patches-new/changed mkdir ~/bromite/build/patches-new/contrib for current_file in $(cat $PATCH_LIST); do - if [[ "$PATCH_FILE" == *".patch" ]]; then + if [[ "$current_file" == *".patch" ]]; then if [[ $current_file =~ ^changed/.* ]]; then mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed elif [[ $current_file =~ ^contrib/.* ]]; then