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