gecko/build/pymake/tests/pycmd.py
2010-10-18 09:50:27 -04: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]])