summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/selftest/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index d2a9bc5ee8..783b2ffe04 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -135,7 +135,7 @@ def cmd_testonly(opt):
if Options.options.SCREEN:
server_wrapper = '${srcdir}/selftest/in_screen %s' % server_wrapper
- os.environ['TERMINAL'] = '${srcdir}/selftest/in_screen'
+ os.environ['TERMINAL'] = EXPAND_VARIABLES(opt, '${srcdir}/selftest/in_screen')
elif server_wrapper != '':
server_wrapper = 'xterm -n server -l -e %s' % server_wrapper