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