check for changed and contrib folders
This commit is contained in:
parent
f12c3e78b4
commit
cfbb923b0d
@ -32,3 +32,14 @@ for patch in $ALLPATCHS_E; do
|
|||||||
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
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 [[ $current_file =~ ^changed/.* ]]; then
|
||||||
|
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed
|
||||||
|
elif [[ $current_file =~ ^contrib/.* ]]; then
|
||||||
|
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/contrib
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user