summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mv_mozextension-r1.eclass19
1 files changed, 11 insertions, 8 deletions
diff --git a/eclass/mv_mozextension-r1.eclass b/eclass/mv_mozextension-r1.eclass
index 45178329..b50973d1 100644
--- a/eclass/mv_mozextension-r1.eclass
+++ b/eclass/mv_mozextension-r1.eclass
@@ -78,9 +78,12 @@ moz_phases() {
OPTIND=1
while getopts 'cCn' opt
do case ${opt} in
- c) o=" -c";;
- n) o=" -n";;
- C) o=;;
+ c)
+ o=" -c";;
+ n)
+ o=" -n";;
+ C)
+ o=;;
esac
done
shift $(( ${OPTIND} - 1 ))
@@ -119,12 +122,12 @@ moz_rdepend() {
esac
case ${mode} in
*s*)
- rdep="${rdep}${rdep:+ }browser_${i}? ( www-client/${i} )"
+ rdep=${rdep}${rdep:+\ }"browser_${i}? ( www-client/${i} )"
c=${c}a;;
esac
case ${mode} in
*b*)
- rdep="${rdep}${rdep:+ }browser_${i}-bin? ( www-client/${i}-bin )"
+ rdep=${rdep}${rdep:+\ }"browser_${i}-bin? ( www-client/${i}-bin )"
c=${c}a;;
esac
done
@@ -154,11 +157,11 @@ moz_iuse() {
for i in firefox palemoon seamonkey
do case "${*}" in
*"${i}"?source*)
- iuse="${iuse}${iuse:+ }browser_${i}";;
+ iuse=${iuse}${iuse:+\ }"browser_${i}";;
*"${i}"?bin*)
- iuse="${iuse}${iuse:+ }browser_${i}-bin";;
+ iuse=${iuse}${iuse:+\ }"browser_${i}-bin";;
*"${i}"*)
- iuse="${iuse}${iuse:+ }browser_${i} browser_${i}-bin";;
+ iuse=${iuse}${iuse:+\ }"browser_${i} browser_${i}-bin";;
esac
done
[ -n "${iuse}" ] || die "args must be [firefox|palemoon|seamonkey][-source|-bin]"