[libgit2-glib] Check subcommand execution
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Check subcommand execution
- Date: Mon, 2 Mar 2020 09:01:01 +0000 (UTC)
commit f231fb6f5da4784f6ebb6ecabc83c07bcf55321e
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date: Thu Feb 27 16:34:03 2020 +0100
Check subcommand execution
meson_python_compile.py | 4 ++--
meson_vapi_link.py | 0
2 files changed, 2 insertions(+), 2 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]