commit: 2085b70b547ced7e2f9519316db7d0df617d8180 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Sep 4 19:19:07 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Sep 12 19:14:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2085b70b
udev.eclass: simplify EPREFIX usage EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> eclass/udev.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/udev.eclass b/eclass/udev.eclass index 830e3eeb125e..ac94f98221aa 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -61,7 +61,7 @@ _udev_get_udevdir() { local -x PKG_CONFIG_FDO_SYSROOT_RULES=1 if $($(tc-getPKG_CONFIG) --exists udev); then local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - echo "${udevdir#${EPREFIX%/}}" + echo "${udevdir#${EPREFIX}}" else echo /lib/udev fi