gecko/build/pymake/tests/pycmd.py
2010-08-06 01:08:40 +10:00

10 lines
190 B
Python

import os
def writetofile(args):
with open(args[0], 'w') as f:
f.write(' '.join(args[1:]))
def writeenvtofile(args):
with open(args[0], 'w') as f:
f.write(os.environ[args[1]])