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)