Update export-all-patch.sh
This commit is contained in:
parent
cfbb923b0d
commit
a716f182be
@ -37,9 +37,11 @@ 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 [[ $current_file =~ ^changed/.* ]]; then
|
if [[ "$PATCH_FILE" == *".patch" ]]; then
|
||||||
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed
|
if [[ $current_file =~ ^changed/.* ]]; then
|
||||||
elif [[ $current_file =~ ^contrib/.* ]]; 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/contrib
|
elif [[ $current_file =~ ^contrib/.* ]]; then
|
||||||
|
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/contrib
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user