summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/cdrom.eclass')
-rw-r--r--eclass/cdrom.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass
index 2270bbe30cff..47e2c6342e06 100644
--- a/eclass/cdrom.eclass
+++ b/eclass/cdrom.eclass
@@ -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]}
)
}