Sign in
qemu
/
meson
/
bcbf0685492c61fbc9acac3e7b808a5036dd2439
/
.
/
test cases
/
common
/
71 ctarget dependency
/
gen2.py
blob: 6fde55600b21064c706468dc8f63c9200ee8d79e [
file
] [
log
] [
blame
]
#!/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
])
as
ifile
,
open
(
sys
.
argv
[
2
],
'w'
)
as
ofile
:
ofile
.
write
(
ifile
.
read
())