AFAICS dirname returns the full string if it isn't a file, not "." (at least for me). But still you are right that this isn't doing what is intended.
I agree that nowadays a prefix filter like this would be needed: ${local_source#URI: file:}
Maybe it was starting with just "file:" in an older version?
AFAICS dirname returns the full string if it isn't a file, not "." (at least for me).
But still you are right that this isn't doing what is intended.
I agree that nowadays a prefix filter like this would be needed: source# URI: file:}
${local_
Maybe it was starting with just "file:" in an older version?