[epiphany/mcatanzaro/webkit-revision] Don't display WebKit revision if it doesn't exist




commit 55f8b2c0433a284244be2e4c5c99f0ffa26dcc72
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Fri Jul 2 14:12:37 2021 -0500

    Don't display WebKit revision if it doesn't exist

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e747398e3..d2b1c4641 100644
--- a/meson.build
+++ b/meson.build
@@ -114,7 +114,7 @@ conf.set10('USE_LIBPORTAL', portal_dep.found())
 webkit_revision = webkit2gtk_dep.get_variable(pkgconfig : 'revision', default_value : '')
 if webkit_revision == 'tarball'
   webkit_revision = ''
-else
+else if webkit_revision != ''
   template = ' (@0@)'
   webkit_revision = template.format(webkit_revision)
 endif


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