--- shared-mime-info-2.0/data/meson.build.orig	2020-10-25 08:06:18.669586800 +0100
+++ shared-mime-info-2.0/data/meson.build	2020-10-25 08:02:43.293417900 +0100
@@ -9,7 +9,9 @@
     ),
     output: 'freedesktop.org.xml',
     command: [
-        find_program('freedesktop_generate.sh'),
+        find_program('bash.exe'),
+        '-e',
+        meson.current_source_dir() / 'freedesktop_generate.sh',
         meson.source_root(),
         meson.build_root()
     ],
