mirror of
https://github.com/clearlinux/common.git
synced 2026-09-05 13:11:29 +00:00
Always remove the pumpAutospec file
Remove pumpAutospec even if the package hasn't yet become a git repo yet. Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
+1
-1
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user