[gnome-shell/gnome-41] build: Specify check kwarg in run_command



commit aac7301fb5c90f7c2d744235321007ebe2bf6f14
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Jul 10 15:17:19 2022 +0200

    build: Specify check kwarg in run_command
    
    Meson now warns that the default will change in a future version,
    so set it explicitly to maintain the existing behavior (and shut
    up the meson warning).
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2350>
    (cherry picked from commit 06d17d6d67724d18ddbcfa77d5a7431566a0d4c9)

 subprojects/extensions-app/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/subprojects/extensions-app/meson.build b/subprojects/extensions-app/meson.build
index c397603305..148d0c6838 100644
--- a/subprojects/extensions-app/meson.build
+++ b/subprojects/extensions-app/meson.build
@@ -6,7 +6,9 @@ project('gnome-extensions-app',
 
 if get_option('profile') == 'development'
   profile = '.Devel'
-  vcs_tag = run_command('git', 'rev-parse', '--short', '@').stdout().strip()
+  vcs_tag = run_command('git', 'rev-parse', '--short', '@',
+    check: false,
+  ).stdout().strip()
 else
   profile = ''
   vcs_tag = ''


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]