From 6869816cc4ab1330645044dabc6b3bfc6844e553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 7 Jan 2022 06:46:35 +0100 Subject: Fix desktop file regeneration with certain AWKs --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c3d5a86..de1adfa 100644 --- a/meson.build +++ b/meson.build @@ -83,7 +83,7 @@ if gdkpixbuf.found() dependencies : [dependencies, gdkpixbuf]) endif -# XXX: With gdk-pixbuf, this even dependens on currently installed modules. +# XXX: With gdk-pixbuf, this even depends on currently installed modules. if meson.is_cross_build() install_data('fiv.desktop', install_dir : get_option('datadir') + '/applications') @@ -93,7 +93,7 @@ else output : 'fiv.desktop', input : 'fiv.desktop', command : ['sh', '-c', '''awk '/^MimeType=/ { $0 = "MimeType="; - while ((exe " --list-supported-media-types" | getline type) > 0) + while (((exe " --list-supported-media-types") | getline type) > 0) $0 = $0 type ";" } 1' "exe=$1" "$2"''', 'sh', exe, '@INPUT@'], capture : true, install : true, -- cgit v1.2.3