Hi, this is a trivial patch to let xdg-utils set the correct dir in Prefix. Reproducible: Always
Created attachment 359180 [details, diff] xdg-utils.patch
Freedesktop herd, would you please review this patch? I think It's simple enough to be commit directly if I get no objections within one week. Thanks.
that looks harmless.
In tree, thanks Gilles. 22 Sep 2013; Benda Xu <heroxbd@gentoo.org> xdg-utils-1.1.0_rc1_p20120916.ebuild, xdg-utils-1.1.0_rc1_p20130921.ebuild: Prefix support for env.d files, bug 485580.
(In reply to Benda Xu from comment #1 and comment #4) You need additional quotes to correctly handle ${EPREFIX} with >=2 consecutive spaces: $ EPREFIX="/some path" $ echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" XDG_DATA_DIRS="/some path/usr/local/share" $ echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\"" XDG_DATA_DIRS="/some path/usr/local/share" $