From 46d754044ed39e3f90543bedd7b64e966d44c521 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 18 Jan 2018 06:42:19 -0600 Subject: [PATCH] suricatasc: don't use find -delete For when -delete isn't supported by find. Instead use -print0 with xargs -0. --- scripts/suricatasc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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