[epiphany] build: distributor name check is allowed to fail



commit c4111cb2bc98de1a7682c6b9845f228ed3e27a1d
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Sun Aug 7 12:09:04 2022 -0500

    build: distributor name check is allowed to fail
    
    This partially reverts 73c4fb039ec59ea8a8a14790c23e3dfc326756a1.
    We don't want Meson checking to ensure the command succeeds because we
    handle failure immediately below. Oops.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 9c651e674..0b13e036d 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,7 @@ project('epiphany', 'c',
 gnome = import('gnome')
 i18n = import('i18n')
 
-r = run_command('grep', '-Po', '^NAME=\K.*', '/etc/os-release', check: true)
+r = run_command('grep', '-Po', '^NAME=\K.*', '/etc/os-release', check: false)
 if r.returncode() == 0
   distributor_name = r.stdout().strip()
 else


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