No, the filetype_extension.conf used in the unittests is already a copy in a custom directory

Thanks for clarifying this, I didn't know that.

Anyway, it's a mere matter of
+sed 's/^\([^=[]\{1,\}\)\(=[^;]\{1,\}\(;[^;]\{1,\}\)*\);*$/\1\2;*.\1_unittest;/' \
+ < "${top_srcdir:-../..}"/data/filetype_extensions.conf > "$CONFDIR/filetype_extensions.conf" || exit 99

:-)

I can prepare a PR if you're happy enough with this.

I didn't even try to understand the sed, I believe your "mere matter" implementation :-). Please go ahead with the PR.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/4074/2629583100@github.com>