Skip to content

Commit 4c7740a

Browse files
committed
[infra] Copy environment to ensure debian-package can find ninja
The copy was accidentally removed when removing bot.py. TEST=BUILDBOT_BUILDERNAME="debianpackage-linux-be" ./tools/run_debian_build.sh Change-Id: I9264824246a96a83f171602571d2073243776d64 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170686 Reviewed-by: William Hesse <[email protected]>
1 parent cc853ee commit 4c7740a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/bots/linux_distribution_support.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def CreateDartTestFile(tempdir):
4545
def Run(command):
4646
print "Running: %s" % ' '.join(command)
4747
sys.stdout.flush()
48-
no_color_env = {'TERM': 'nocolor'}
48+
no_color_env = dict(os.environ)
49+
no_color_env['TERM'] = 'nocolor'
4950
exit_code = subprocess.call(command, env=no_color_env)
5051
if exit_code != 0:
5152
raise OSError(exit_code)

0 commit comments

Comments
 (0)