Sign in
qemu
/
meson
/
7b43a2e19613f3702935872b21b1020f7d8c6a9b
/
.
/
test cases
/
common
/
129 build by default
/
checkexists.py
blob: 6664f7291a73bb90feb1bfe51b15aaa844ff3342 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
.
path
,
sys
invert
=
False
for
path
in
sys
.
argv
[
1
:]:
if
path
==
'--not'
:
invert
=
True
elif
not
os
.
path
.
exists
(
path
)
^
invert
:
sys
.
exit
(
1
)