Skip to content

Commit

Permalink
[REGRESION] fix for 'make clean'
Browse files Browse the repository at this point in the history
  • Loading branch information
reactive-firewall committed Feb 21, 2022
1 parent b7fae81 commit 4354c2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ endif

ifeq "$(RM)" ""
RM=`command -v rm` -f
ifeq "$(RMDIR)" ""
RMDIR=$(RM)Rd
endif
endif

ifeq "$(RMDIR)" ""
RMDIR=$(RM) -Rd
endif

PHONY: must_be_root cleanup
Expand Down Expand Up @@ -139,7 +140,7 @@ cleanup:
$(QUIET)$(RM) tests/__pycache__/* 2>/dev/null || true
$(QUIET)$(RM) multicast/*.pyc 2>/dev/null || true
$(QUIET)$(RM) multicast/*~ 2>/dev/null || true
$(QUIET)$(RM) multicast//__pycache__/* 2>/dev/null || true
$(QUIET)$(RM) multicast/__pycache__/* 2>/dev/null || true
$(QUIET)$(RM) multicast/*/*.pyc 2>/dev/null || true
$(QUIET)$(RM) multicast/*/*~ 2>/dev/null || true
$(QUIET)$(RM) multicast/*.DS_Store 2>/dev/null || true
Expand Down

0 comments on commit 4354c2c

Please sign in to comment.