Get non-interactive bash env right

This commit is contained in:
Ciaran Gultnieks 2013-08-29 21:05:25 +01:00
parent d5df260c88
commit 0658a9b8ac
3 changed files with 14 additions and 9 deletions

View file

@ -287,7 +287,7 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path, force):
if force:
cmdline += ' --force --test'
cmdline += ' -p ' + app['id'] + ' --vercode ' + thisbuild['vercode']
chan.exec_command(cmdline)
chan.exec_command('bash -c ". ~/.bsenv && ' + cmdline + '"')
output = ''
error = ''
while not chan.exit_status_ready():