summaryrefslogtreecommitdiffstats
path: root/test cases/failing/92 custom target install data/preproc.py
blob: e6eba4c6ac2af5c7f74523dc34db7ab60a20e77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import sys

if len(sys.argv) != 3:
    print(sys.argv[0], '<input>', '<output>')

inf = sys.argv[1]
outf = sys.argv[2]

with open(outf, 'wb') as o:
    with open(inf, 'rb') as i:
        o.write(i.read())