aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/depfixer.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-07-31 12:09:56 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-02 14:31:22 +0300
commit7aecfb1540836ef0702dffa9ed2f149d27d6df85 (patch)
tree9ea29359cdde5d75707b54855f6087296dd394ee /mesonbuild/scripts/depfixer.py
parent923efe9edae1912485d41d0824b219e40f5fd921 (diff)
downloadmeson-7aecfb1540836ef0702dffa9ed2f149d27d6df85.zip
meson-7aecfb1540836ef0702dffa9ed2f149d27d6df85.tar.gz
meson-7aecfb1540836ef0702dffa9ed2f149d27d6df85.tar.bz2
remove unreachable code
Diffstat (limited to 'mesonbuild/scripts/depfixer.py')
-rw-r--r--mesonbuild/scripts/depfixer.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py
index cc4669c..9925f4e 100644
--- a/mesonbuild/scripts/depfixer.py
+++ b/mesonbuild/scripts/depfixer.py
@@ -413,9 +413,8 @@ def fix_darwin(fname, new_rpath, final_path, install_name_mappings):
subprocess.check_call(['install_name_tool', fname] + args,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
- except Exception:
- raise
- sys.exit(0)
+ except Exception as err:
+ raise SystemExit(err)
def fix_jar(fname):
subprocess.check_call(['jar', 'xfv', fname, 'META-INF/MANIFEST.MF'])