Sign in
qemu
/
meson
/
0ed78cf6fa6d87c0738f67ae43525e661b50a8a2
/
.
/
test cases
/
common
/
160 custom target template substitution
/
checkcopy.py
blob: ab9f436cebee0fa2ad1395a4cc5692da4ce7bc79 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
sys
import
shutil
if
'@INPUT1@'
in
sys
.
argv
[
1
]:
shutil
.
copyfile
(
sys
.
argv
[
2
],
sys
.
argv
[
3
])
else
:
sys
.
exit
(
'String @INPUT1@ not found in "{}"'
.
format
(
sys
.
argv
[
1
]))