suricatasc: don't use find -delete

For when -delete isn't supported by find. Instead use
-print0 with xargs -0.
pull/3175/head
Jason Ish 8 years ago
parent 5420c0ab06
commit 46d754044e

@ -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

Loading…
Cancel
Save