Sign in
qemu
/
meson
/
f38a8269f812c57b1884419a67bb5ce9e9f8983f
/
.
/
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
]))