first initial commit

This commit is contained in:
Carmelo Messina
2020-11-26 08:53:00 +01:00
commit b34479fe9a
5 changed files with 181 additions and 0 deletions

26
export-all-patch.sh Normal file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
VERSION=$(cat ~/bromite/build/RELEASE)
CURRENT_RELEASE=$(git -C ~/chromium/src/ rev-parse --verify refs/tags/$VERSION)
ALLPATCHS=$(git -C ~/chromium/src/ rev-list HEAD...$CURRENT_RELEASE)
mkdir ~/bromite/build/patches-new
NO_NAME=1
for patch in $ALLPATCHS; do
PATCH_FILE=$(git -C ~/chromium/src/ show -s $patch | grep FILE: | sed 's/FILE://g' | sed 's/^[ \t]*//;s/[ \t]*$//')
if [ -z "$PATCH_FILE" ]
then
PATCH_FILE=$NO_NAME.patch
NO_NAME=$NO_NAME.1
echo No Name ${NO_NAME}, press return
read -n 1
fi
bash ~/export-single-patch.sh $patch $PATCH_FILE
done