diff options
-rwxr-xr-x | environment.py | 2 | ||||
-rwxr-xr-x | meson_install.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/environment.py b/environment.py index b757ba4..51000c4 100755 --- a/environment.py +++ b/environment.py @@ -334,7 +334,7 @@ class Environment(): def detect_ccache(self): try: has_ccache = subprocess.call(['ccache', '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - except FileNotFoundError: + except OSError: has_ccache = 1 if has_ccache == 0: cmdlist = ['ccache'] diff --git a/meson_install.py b/meson_install.py index 28d70ec..a995173 100755 --- a/meson_install.py +++ b/meson_install.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 -tt +#!/usr/bin/env python3 -tt # Copyright 2013 Jussi Pakkanen |