mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
cdrom.eclass: Fix matching of entries with trailing /, bug #618344
This commit is contained in:
@@ -281,7 +281,7 @@ _cdrom_glob_match() {
|
||||
shopt -s extglob nocaseglob nullglob || die
|
||||
# The first person to make this work without an eval wins a
|
||||
# cookie. It breaks without it when spaces are present.
|
||||
eval "ARRAY=( ${p} )"
|
||||
eval "ARRAY=( ${p%\?()} )"
|
||||
echo ${ARRAY[0]}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user