From 398fb6970892ad8ab1da2b4c6de256951f7b9759 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Wed, 24 Jul 2024 15:36:47 -0700 Subject: [PATCH] Always remove the pumpAutospec file Remove pumpAutospec even if the package hasn't yet become a git repo yet. Signed-off-by: William Douglas --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 6c47ea4..61bc853 100644 --- a/Makefile.common +++ b/Makefile.common @@ -166,7 +166,7 @@ preautospec-checks: #help to autospec. #help For more information, see the project at https://github.com/clearlinux/autospec autospec: preautospec-checks pullrebase localreponotice clean-old-content - git rm --ignore-unmatch pumpAutospec + git rm --ignore-unmatch pumpAutospec || rm -f pumpAutospec @if [ -e $(SPECFILE) ] && ! grep -q "# Generated by: autospec.py" $(SPECFILE) ; then \ echo "Specfile already exists and was not created by autospec.py! Aborting."; \ exit 1; \