☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
160 custom target template substitution
/
checkcopy.py
☽
☼
test cases/common/160 custom target template substitution/checkcopy.py
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import sys
4
import shutil
5
6
if '@INPUT1@' in sys.argv[1]:
7
shutil.copyfile(sys.argv[2], sys.argv[3])
8
else:
9
sys.exit('String @INPUT1@ not found in "{}"'.format(sys.argv[1]))