Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
2869cfb81e5436e4eaf58e58c9a7951ae92a757c...6a2c3722966ff2fd4ca6a114e035d4bd4f340dfc
Commits (1)
Apparently setcap isn't in /sbin for all Linux distros
· 6a2c3722
Rob Swindell
authored
Mar 13, 2022
So use 'whereis' to find and and 'cut' to trim its output
6a2c3722
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
install/GNUmakefile
install/GNUmakefile
+1
-1
No files found.
install/GNUmakefile
View file @
6a2c3722
...
...
@@ -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
...
...