mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
udev.eclass: quote "${EPREFIX}" in parameter expansion
Prevents any wildcard characters from being applied. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -57,7 +57,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 /usr/lib/udev
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user