The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
234 B
11 lines
234 B
8 years ago
|
#!/usr/bin/env python3
|
||
10 years ago
|
|
||
9 years ago
|
import sys, os
|
||
10 years ago
|
from glob import glob
|
||
|
|
||
9 years ago
|
files = glob(os.path.join(sys.argv[1], '*.tmp'))
|
||
10 years ago
|
assert(len(files) == 1)
|
||
|
|
||
8 years ago
|
with open(files[0], 'r') as ifile, open(sys.argv[2], 'w') as ofile:
|
||
|
ofile.write(ifile.read())
|