From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 27 Feb 2020 16:34:03 +0100
Subject: Check subcommand execution

Origin: upstream, 0.99.1, commit:f231fb6f5da4784f6ebb6ecabc83c07bcf55321e
---
 meson_python_compile.py | 4 ++--
 meson_vapi_link.py      | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 meson_vapi_link.py

diff --git a/meson_python_compile.py b/meson_python_compile.py
index 1ffe0c0..24a74d8 100755
--- a/meson_python_compile.py
+++ b/meson_python_compile.py
@@ -8,7 +8,7 @@ if not os.environ.get('DESTDIR'):
   libdir = sys.argv[1]
 
   print('Byte-compiling python modules...')
-  subprocess.call(['python3', '-m', 'compileall', '-f', '-q', libdir])
+  subprocess.check_call(['python3', '-m', 'compileall', '-f', '-q', libdir])
 
   print('Byte-compiling python modules (optimized versions) ...')
-  subprocess.call(['python3', '-O', '-m', 'compileall', '-f', '-q', libdir])
+  subprocess.check_call(['python3', '-O', '-m', 'compileall', '-f', '-q', libdir])
diff --git a/meson_vapi_link.py b/meson_vapi_link.py
old mode 100644
new mode 100755
