From 39d2b12b7186a5fe195b4f42ae476eda5ca101f2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 23 Dec 2018 23:18:07 +0000 Subject: [PATCH] Try to fix setuid call. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2