Commit 6a2c3722 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Apparently setcap isn't in /sbin for all Linux distros

So use 'whereis' to find and and 'cut' to trim its output
parent 2869cfb8
......@@ -82,7 +82,7 @@ MKFLAGS += os=$(os)
ifndef NOCAP
ifeq ($(os),linux)
SETCAP := /sbin/setcap
SETCAP := $(shell whereis -b setcap | cut -d" " -f2)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment