changed method of creating new patch name
This commit is contained in:
parent
50441d00bc
commit
e826c60239
@ -18,15 +18,11 @@ for patch in $ALLPATCHS_E; do
|
|||||||
|
|
||||||
if [ -z "$PATCH_FILE" ]
|
if [ -z "$PATCH_FILE" ]
|
||||||
then
|
then
|
||||||
#git -C ~/chromium/src/ show -s $patch
|
|
||||||
PATCH_FILE=$(git -C ~/chromium/src/ show -s $patch | tail -n 1)
|
PATCH_FILE=$(git -C ~/chromium/src/ show -s $patch | tail -n 1)
|
||||||
if [[ "$PATCH_FILE" != *".patch" ]]; then
|
if [[ "$PATCH_FILE" != *".patch" ]]; then
|
||||||
PATCH_FILE=$NO_NAME.patch
|
PATCH_FILE=00$(git -C ~/chromium/src/ show -s $patch | head -n 5 | tail -n 1 | xargs | tr " " - | tr [:punct:] -).patch
|
||||||
NO_NAME=$NO_NAME.1
|
echo New Patch: ${PATCH_FILE}
|
||||||
echo No Name ${NO_NAME}, press return
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -n 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
||||||
|
Loading…
Reference in New Issue
Block a user