diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-03-11 17:25:02 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:32:38 +0530 |
commit | bdb57cf62a56e292d3ebf9f4ba39be07674707f8 (patch) | |
tree | adfeea68e5ac560d6ef6fb032d541c6fd14f0d2e /mesonbuild/mesonmain.py | |
parent | de65adb8b100731ff31eee92da44b4cc10ac5aa3 (diff) | |
download | meson-bdb57cf62a56e292d3ebf9f4ba39be07674707f8.zip meson-bdb57cf62a56e292d3ebf9f4ba39be07674707f8.tar.gz meson-bdb57cf62a56e292d3ebf9f4ba39be07674707f8.tar.bz2 |
Convert Gnome module to use find_program from interpreter.
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r-- | mesonbuild/mesonmain.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 651224e..daf5907 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -210,7 +210,8 @@ class MesonApp: # Post-conf scripts must be run after writing coredata or else introspection fails. g.run_postconf_scripts() except: - os.unlink(cdf) + if 'cdf' in locals(): + os.unlink(cdf) raise def run_script_command(args): |