diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-04 22:19:07 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-12 22:14:32 +0300 |
commit | 2085b70b547ced7e2f9519316db7d0df617d8180 (patch) | |
tree | 4e6a4158d51a0cadec8fd579edcff220b4ae0022 /eclass | |
parent | rebar.eclass: simplify EPREFIX usage (diff) | |
download | gentoo-2085b70b547ced7e2f9519316db7d0df617d8180.tar.gz gentoo-2085b70b547ced7e2f9519316db7d0df617d8180.tar.bz2 gentoo-2085b70b547ced7e2f9519316db7d0df617d8180.zip |
udev.eclass: simplify EPREFIX usage
EPREFIX is never slash terminated, in all EAPIs.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/udev.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |