1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:27:35 +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:
Tim Schumacher 2022-09-16 19:59:41 +02:00 committed by Ali Mohammad Pur
parent e6ef366859
commit 4d29489705

View file

@ -734,7 +734,7 @@ do_dev() {
fi
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
if git apply < $patch; then
git add -A