[network-manager-applet/wip/inigomartinez/meson-improvements: 1/7] build(meson): Fix index used for PACKAGE_STRING
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/wip/inigomartinez/meson-improvements: 1/7] build(meson): Fix index used for PACKAGE_STRING
- Date: Mon, 13 Nov 2017 09:56:47 +0000 (UTC)
commit 5d775a9f1a7601f67f3534f86bde6fe0368a9118
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Fri Nov 10 17:21:04 2017 +0100
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
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index e7cbc5d..8c6e6f9 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],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]