diff --git a/scripts/suricatasc/Makefile.am b/scripts/suricatasc/Makefile.am index f31e5f0598..09fca4c5fc 100644 --- a/scripts/suricatasc/Makefile.am +++ b/scripts/suricatasc/Makefile.am @@ -14,6 +14,6 @@ clean-local: uninstall-local: [ ! -f "$(DESTDIR)$(prefix)/bin/suricatasc" ] || rm -f "$(DESTDIR)$(prefix)/bin/suricatasc" - find "$(DESTDIR)$(prefix)/lib" -name "suricatasc-*.egg-info" -delete ||true + find "$(DESTDIR)$(prefix)/lib" -name "suricatasc-*.egg-info" -print0 | xargs -0 rm -f ||true endif