Commit a1e94bed authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Browser: Use git am to apply patches


Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent 368c1b7e
......@@ -58,7 +58,9 @@ function patch() {
PATCHES_LIST=$(cat "${ROOT_DIR}/bromite/build/bromite_patches_list.txt" "${ROOT_DIR}/build/e_patches_list.txt")
for file in $PATCHES_LIST; do
echo " -> Apply $file"
git apply "${ROOT_DIR}/bromite/build/patches/$file"
git config --global user.name "John Doe"
git config --global user.email "johndoe@example.com"
git am < "${ROOT_DIR}/bromite/build/patches/$file"
echo " "
done
gclient runhooks
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment