fix export error

This commit is contained in:
uazo 2022-03-24 20:29:25 +01:00 committed by GitHub
parent a716f182be
commit 81f793ed34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ PATCH_LIST=~/bromite/build/bromite_patches_list.txt
mkdir ~/bromite/build/patches-new/changed mkdir ~/bromite/build/patches-new/changed
mkdir ~/bromite/build/patches-new/contrib mkdir ~/bromite/build/patches-new/contrib
for current_file in $(cat $PATCH_LIST); do for current_file in $(cat $PATCH_LIST); do
if [[ "$PATCH_FILE" == *".patch" ]]; then if [[ "$current_file" == *".patch" ]]; then
if [[ $current_file =~ ^changed/.* ]]; then if [[ $current_file =~ ^changed/.* ]]; then
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed
elif [[ $current_file =~ ^contrib/.* ]]; then elif [[ $current_file =~ ^contrib/.* ]]; then