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



commit 69be5c10b9a58508766c47bbc146f4bcdda19969
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 b265ac1f74..4f4dbd8186 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]