From 0feeb461611d761a19cb7e7f615e7b8aa7c03ef5 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Sat, 27 Jan 2018 18:55:24 +0530 Subject: [PATCH] project: fix replacing meson arguments In the configure script, only the first matching '-' was replaced with '_'. This should be happening with all matches in a given argument. https://gitlab.gnome.org/GNOME/gnome-calendar/issues/214 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fc9b359f7..fd9e3dd35 100755 --- a/configure +++ b/configure @@ -159,7 +159,7 @@ END cmd_options="" for key in "${!meson_options[@]}"; do - cmd_options="$cmd_options -D${key/\-/_}=${meson_options[$key]}" + cmd_options="$cmd_options -D${key//\-/_}=${meson_options[$key]}" done exec ${MESON} \ -- GitLab