projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19a5166
)
Don't try to call setcap on a non-existant disk writer binary.
author
Carl Hetherington
<cth@carlh.net>
Fri, 31 Dec 2021 21:14:14 +0000
(21:14 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 31 Dec 2021 21:14:14 +0000
(21:14 +0000)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index af6d66b507e4c3eb7905c8d3d8224b06b67abff7..ce24e866684620109f1b3e1e047762c9b8f8ae20 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-676,7
+676,8
@@
def create_version_cc(version, cxx_flags):
def post(ctx):
if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
ctx.exec_command('/sbin/ldconfig')
- ctx.exec_command('setcap "cap_dac_override+ep cap_sys_admin+ep" %s/bin/dcpomatic2_disk_writer' % ctx.options.prefix)
+ if ctx.env.ENABLE_DISK:
+ ctx.exec_command('setcap "cap_dac_override+ep cap_sys_admin+ep" %s/bin/dcpomatic2_disk_writer' % ctx.options.prefix)
def pot(bld):
bld.recurse('src')