Skip to content
Snippets Groups Projects
Commit 6a2c3722 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
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
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -82,7 +82,7 @@ MKFLAGS += os=$(os)
ifndef NOCAP
ifeq ($(os),linux)
SETCAP := /sbin/setcap
SETCAP := $(shell whereis -b setcap | cut -d" " -f2)
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment