aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-03-27 19:44:45 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-03-27 19:45:57 +0100
commit92ac544efddff7122488740d4a8049a2e9a9e765 (patch)
tree17cd781142e4a4c7e5b003ce6454294318970412 /Makefile
parent515435cdc32c94fb7f5cd3d4f512303ccc5d1b9b (diff)
downloadsos-92ac544efddff7122488740d4a8049a2e9a9e765.tar.gz
[makefiles] use rm -f when cleaning up *.pyc files
$ make rpm rm: remove write-protected regular file './sos/sosreport.pyc'? y rm: remove write-protected regular file './sos/policies/__pycache__/debian.cpython-35.pyc'? ^CMakefile:74: recipe for target 'clean' failed make: *** [clean] Interrupt Gets old very fast.. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d643df8..30298a74 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ clean:
@rm -fv *~ .*~ changenew ChangeLog.old $(NAME)-$(VERSION).tar.gz sosreport.1.gz sos.conf.5.gz
@rm -rf rpm-build
@for i in `find . -iname *.pyc`; do \
- rm $$i; \
+ rm -f $$i; \
done; \
for d in $(SUBDIRS); do make -C $$d clean ; done