Sign in
qemu
/
meson
/
refs/heads/dircondense2
/
.
/
test cases
/
common
/
217 custom target input extracted objects
/
check_object.py
blob: bafcf2c171381ab4af115497f4760af89ebab90f [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
sys
,
os
if
__name__
==
'__main__'
:
if
len
(
sys
.
argv
)
!=
3
:
print
(
sys
.
argv
[
0
],
'object'
,
'output'
)
sys
.
exit
(
1
)
elif
os
.
path
.
exists
(
sys
.
argv
[
1
]):
with
open
(
sys
.
argv
[
2
],
'wb'
)
as
out
:
pass
else
:
sys
.
exit
(
1
)