diff --git a/Makefile.am b/Makefile.am index 1a189a779e..424a9d2635 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1040,15 +1040,15 @@ EXTRA_DIST = \ install-exec-hook: if HAVE_DUMPCAP_GROUP - -chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap + chgrp $(DUMPCAP_GROUP) $(DESTDIR)$(bindir)/dumpcap endif if SETCAP_INSTALL - -$(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap - -chmod o-rws $(DESTDIR)$(bindir)/dumpcap + $(SETCAP) cap_net_raw,cap_net_admin+ep $(DESTDIR)$(bindir)/dumpcap + chmod o-rws $(DESTDIR)$(bindir)/dumpcap else if SETUID_INSTALL - -chmod o-rws $(DESTDIR)$(bindir)/dumpcap - -chmod +s $(DESTDIR)$(bindir)/dumpcap + chmod o-rws $(DESTDIR)$(bindir)/dumpcap + chmod +s $(DESTDIR)$(bindir)/dumpcap endif endif