mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:17:36 +00:00
Ports: Keep [...]
prefixes while importing patches
This stops us from mangling our LLVM patch names and titles when using `./package.sh dev`, as they like to put their category names in square brackets.
This commit is contained in:
parent
e6ef366859
commit
4d29489705
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ do_dev() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Importing patch $(basename "${patch}")..."
|
echo "Importing patch $(basename "${patch}")..."
|
||||||
git am --keep-cr "$patch" >/dev/null 2>&1 || {
|
git am --keep-cr --keep-non-patch "$patch" >/dev/null 2>&1 || {
|
||||||
git am --abort >/dev/null 2>&1 || true
|
git am --abort >/dev/null 2>&1 || true
|
||||||
if git apply < $patch; then
|
if git apply < $patch; then
|
||||||
git add -A
|
git add -A
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue