Files
NetworkManager/check-distro.py
Iñigo Martínez 03637ad8b5 build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

[thaller@redhat.com: rebased patch and adjusted for iwd support]

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
2017-12-13 15:48:50 +01:00

12 lines
160 B
Python
Executable File

#!/usr/bin/env python3
import errno
import os
import sys
for location in sys.argv[1:]:
if os.path.isfile(location):
sys.exit(0)
sys.exit(errno.ENOENT)