Update apply-bromite-patches.sh

This commit is contained in:
uazo 2022-03-25 08:58:27 +01:00 committed by GitHub
parent 7dc817d819
commit aede203911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
echo -e ${RED} " -> Apply $file" ${NC} echo -e ${RED} " -> Apply $file" ${NC}
REPL="0,/^---/s//FILE:"$file"\n---/" REPL="0,/^---/s//FILE:"$(basename $file)"\n---/"
cat ../../bromite/build/patches/$file | sed $REPL | git am cat ../../bromite/build/patches/$file | sed $REPL | git am
if [ $? -ne 0 ] if [ $? -ne 0 ]