diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2015-06-26 09:47:26 +0200 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2015-06-26 09:48:49 +0200 |
commit | a8e4595490ac43efd9c2eefd62e5a169b2d3165b (patch) | |
tree | 45804e9e29a81ce69b34ddc336543c2d21bc09fa | |
parent | 6e8f0971d3ef8d12ae98f10b37861f41f38d81db (diff) |
Fix exception when ACLOCAL_PATH did not exists in the env when using use-system-libs
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index f8ae542f..bb8f4b87 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -315,5 +315,5 @@ def add_system_libs(config, new_env): '/usr/lib/%s-linux-gnu/pkgconfig' % arch] new_env['PKG_CONFIG_PATH'] = ':'.join(search_paths) - search_paths = [os.environ['ACLOCAL_PATH'], '/usr/share/aclocal'] + search_paths = [os.environ.get('ACLOCAL_PATH', ''), '/usr/share/aclocal'] new_env['ACLOCAL_PATH'] = ':'.join(search_paths) |