
To work around the issue, I just wrote a stupid sed script. Of course, it means that if we encounter again the issue on some other docs, we'll have to update it. In other words, it's neither robust nor a proper long-term fix. Just a temporary hack. See: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/425 Also fixing this issue, I encountered another bug, this time in meson, which changes backslashes in slashes on 'command' arguments, in a completely uninvited manner! The only workaround to this is apparently to call an external script, which is ridiculous for such a basic stuff. But well… here is why I implement this with a script, instead of directly calling sed in the meson 'command'. See: https://github.com/mesonbuild/meson/issues/1564
4 lines
56 B
Bash
Executable File
4 lines
56 B
Bash
Executable File
#!/bin/sh
|
|
|
|
sed -i 's/<\(Prefix\|Image\)/\<\1/g' "$1"
|