[infra] Fix another undeclared variable in debian-package scripts

TBR=whesse@google.com

Change-Id: Ibb4bcbb85c22ec348cb4a94f8408defe1eefa8b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170682
Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
Alexander Thomas 2020-11-06 08:44:31 +00:00
parent cd970af91a
commit 57864a88a6

View file

@ -44,8 +44,7 @@ def CreateDartTestFile(tempdir):
def Run(command):
print "Running: %s" % ' '.join(command)
sys.stdout.flush()
no_color_env['TERM'] = 'nocolor'
no_color_env = {'TERM': 'nocolor'}
exit_code = subprocess.call(command, env=no_color_env)
if exit_code != 0:
raise OSError(exit_code)