mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Ports: Improve newline support for ./package.sh dev
Previously `git am` could fail on patches with Windows line endings (CRLF). By supplying `--keep-cr`, we prevent git from stripping the CR from our patches.
This commit is contained in:
parent
b8854549f2
commit
37bbfc1b38
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ do_dev() {
|
|||
fi
|
||||
|
||||
echo "Importing patch $patch..."
|
||||
git am "$patch" >/dev/null 2>&1 || {
|
||||
git am --keep-cr "$patch" >/dev/null 2>&1 || {
|
||||
git am --abort >/dev/null 2>&1 || true
|
||||
if git apply < $patch; then
|
||||
git add -A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue