Update apply-all-patch.sh
This commit is contained in:
parent
095f1c88ec
commit
9d611cc535
@ -56,19 +56,29 @@ for current_file in $(cat $PATCH_LIST); do
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
bash ~/bromite-buildtools/apply-single-patch.sh $PATCH_OLD_PATH/$current_file $PATCH_NEW_PATH
|
if [ -n "$SKIPAUTOGENERATED" ]; then
|
||||||
|
if [[ "$current_file" == *"Automated-domain-substitution"* ]]; then
|
||||||
|
echo ""
|
||||||
|
echo -e ${RED} " -> Excluding $current_file" ${NC}
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
bash ~/bromite-buildtools/apply-single-patch.sh $PATCH_OLD_PATH/$current_file $PATCH_NEW_PATH || exit 1
|
||||||
|
|
||||||
|
if [ -z "$SILENT" ]; then
|
||||||
echo $current_file >>$DESTINATION
|
echo $current_file >>$DESTINATION
|
||||||
echo $PATCH_FILE
|
echo $PATCH_FILE
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
LAST_COMMIT=$(git rev-parse HEAD)
|
LAST_COMMIT=$(git rev-parse HEAD)
|
||||||
echo "Last Commit " $LAST_COMMIT
|
echo "Last Commit " $LAST_COMMIT
|
||||||
bash ~/bromite-buildtools/export-single-patch.sh $LAST_COMMIT
|
bash ~/bromite-buildtools/export-single-patch.sh $LAST_COMMIT || exit 1
|
||||||
|
|
||||||
#cp -r ~/bromite/build/patches-new/* ~/br2/bromite/build/patches/
|
#cp -r ~/bromite/build/patches-new/* ~/br2/bromite/build/patches/
|
||||||
#git -C ~/br2/bromite/ add .
|
#git -C ~/br2/bromite/ add .
|
||||||
#git -C ~/br2/bromite/ commit -m "$current_file"
|
#git -C ~/br2/bromite/ commit -m "$current_file"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user