diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-03-27 19:44:45 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-03-27 19:45:57 +0100 |
commit | 92ac544efddff7122488740d4a8049a2e9a9e765 (patch) | |
tree | 17cd781142e4a4c7e5b003ce6454294318970412 /Makefile | |
parent | 515435cdc32c94fb7f5cd3d4f512303ccc5d1b9b (diff) | |
download | sos-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |