summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-10 17:21:04 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2017-11-13 10:57:28 +0100
commit5d775a9f1a7601f67f3534f86bde6fe0368a9118 (patch)
tree7e9c75a2df9c31f47b991734700c2d7b8e947c2b
parent321da594547065d4e53e100c4670ba7cf87b3e20 (diff)
downloadnetwork-manager-applet-5d775a9f1a7601f67f3534f86bde6fe0368a9118.tar.gz
build(meson): Fix index used for PACKAGE_STRING
In the PACKAGE_STRING variable generation wrong index is used. This patch uses string concatenation to fix the problem. https://bugzilla.gnome.org/show_bug.cgi?id=790178
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e7cbc5dd..8c6e6f98 100644
--- a/meson.build
+++ b/meson.build
@@ -56,7 +56,7 @@ set_defines = [
['PACKAGE', nma_long_name],
['PACKAGE_BUGREPORT', 'http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager'],
['PACKAGE_NAME', 'nm-applet'],
- ['PACKAGE_STRING', 'nm-applet @1@'.format(nma_version)],
+ ['PACKAGE_STRING', 'nm-applet ' + nma_version],
['PACKAGE_TARNAME', nma_long_name],
['PACKAGE_URL', ''],
['PACKAGE_VERSION', nma_version],