In the patch two helper functions strip_eprefix and prepend_eprefix which strips and prepends ${EPREFIX} from/to path. Corresponding ins*/dodoc are updated to use these 2 new helpers. Reproducible: Always
Created attachment 336916 [details, diff] eprefix_path_helper.patch
really, isn't this what bash is very good at?
(In reply to comment #2) > really, isn't this what bash is very good at? It also has "if it does not contain $EPREFIX in path, prepend" function. Therefore hopefully it will reduce double prefix bug in the future.
That's just swiping a bug under the carpet, IMO. People should not use EPREFIX with helpers.
Hmm.. but how to deal with situations like bug 452890, where insinto and python_get_incdir confuses people by whether or not it should provide a $EPREFIX in the path?
The previous Python maintainer felt that calls like python_get_incdir should not include EPREFIX, and the current one feels it should IIRC, so that's a human problem, IMO.
close as wontfix then, thanks Fabian.