aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/72 ctarget dependency/gen2.py
blob: b087b02cc931aba6d3a26995b099ffcb39c8d02f (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python3

import sys, os
from glob import glob

files = glob(os.path.join(sys.argv[1], '*.tmp'))
assert(len(files) == 1)

with open(files[0], 'r') as ifile, open(sys.argv[2], 'w') as ofile:
    ofile.write(ifile.read())