summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 23:18:07 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 23:18:07 +0000
commit39d2b12b7186a5fe195b4f42ae476eda5ca101f2 (patch)
treecd5badfc4c5ee138ae7f75e0204368992069a44a /wscript
parentc19a3e0b6fdd8b129caf7c56336215ba5df282ec (diff)
Try to fix setuid call.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 16c3ef979..14c6fee61 100644
--- a/wscript
+++ b/wscript
@@ -621,7 +621,7 @@ def create_version_cc(version, cxx_flags):
def post(ctx):
if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
ctx.exec_command('/sbin/ldconfig')
- os.chmod(os.path.join(ctx.env.PREFIX, 'bin/dcpomatic2_uuid'), 0o4755)
+ os.chmod(os.path.join(ctx.options.prefix, 'bin/dcpomatic2_uuid'), 0o4755)
def pot(bld):
bld.recurse('src')