Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
Browser
Commits
a1e94bed
Commit
a1e94bed
authored
Mar 03, 2022
by
Aayush Gupta
Browse files
Browser: Use git am to apply patches
Signed-off-by:
Aayush Gupta
<
theimpulson@e.email
>
parent
368c1b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
a1e94bed
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment