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) ...@@ -82,7 +82,7 @@ MKFLAGS += os=$(os)
ifndef NOCAP ifndef NOCAP
ifeq ($(os),linux) ifeq ($(os),linux)
SETCAP := /sbin/setcap SETCAP := $(shell whereis -b setcap | cut -d" " -f2)
endif endif
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment