diff --git a/images/bromite-source/apply-bromite-patches.sh b/images/bromite-source/apply-bromite-patches.sh index 79af947..3a2096e 100644 --- a/images/bromite-source/apply-bromite-patches.sh +++ b/images/bromite-source/apply-bromite-patches.sh @@ -18,7 +18,7 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do 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 if [ $? -ne 0 ]