From 58d180acaa2e0ea3a92139cda3b5bab1f7a1d73f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 1 Dec 2015 14:08:01 +0100 Subject: [PATCH] makerepo.sh: clear old patches before splitting patches Otherwise, patches from a previous run might interfere. --- contrib/fedora/utils/makerepo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index a7935ddfa2..46c26a8edb 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -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