mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 04:18:07 +02:00
makerepo.sh: clear old patches before splitting patches
Otherwise, patches from a previous run might interfere.
This commit is contained in:
parent
31aa552f42
commit
58d180acaa
1 changed files with 1 additions and 0 deletions
|
|
@ -481,6 +481,7 @@ EOF
|
||||||
patch -f --no-backup-if-mismatch -R "-p$PNUM" < "../${LAST_PATCH[$i]}" || (
|
patch -f --no-backup-if-mismatch -R "-p$PNUM" < "../${LAST_PATCH[$i]}" || (
|
||||||
# error applying patch. Maybe we have a multi line patch...
|
# error applying patch. Maybe we have a multi line patch...
|
||||||
|
|
||||||
|
rm -f "../${LAST_PATCH[$i]}".makerepo-split.*
|
||||||
split_patch "../${LAST_PATCH[$i]}" ".makerepo-split."
|
split_patch "../${LAST_PATCH[$i]}" ".makerepo-split."
|
||||||
|
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue