mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 07:20:11 +01: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]}" || (
|
||||
# error applying patch. Maybe we have a multi line patch...
|
||||
|
||||
rm -f "../${LAST_PATCH[$i]}".makerepo-split.*
|
||||
split_patch "../${LAST_PATCH[$i]}" ".makerepo-split."
|
||||
|
||||
git reset --hard
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue