☰
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
/
129 build by default
/
checkexists.py
☽
☼
test cases/common/129 build by default/checkexists.py
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import os.path, sys
4
5
invert = False
6
for path in sys.argv[1:]:
7
if path == '--not':
8
invert = True
9
elif not os.path.exists(path) ^ invert:
10
sys.exit(1)