diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-03-03 15:53:29 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-03-03 15:53:29 +0200 |
| commit | 10bdd11e2ded797af6d953a020f3f6824bdd7604 (patch) | |
| tree | f5b05b60e3b929fad30988b3a1aac0b924fdd495 | |
| parent | 5dc2d166158f01bb32551efcbaff0adec8fcfa3f (diff) | |
| download | meson-10bdd11e2ded797af6d953a020f3f6824bdd7604.tar.gz | |
A few more fixes for OSX.
| -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 b757ba4a5..51000c44e 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 28d70ecc7..a9951738d 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 |
