commit:     842861ff4a10997580794bdfe15e1ec4051574e1
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo 
<DOT> org>
AuthorDate: Tue Apr  4 17:01:06 2017 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 17:01:06 2017 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=842861ff

Fix typo and remove ',' from parameter list.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> 
gentoo.org>

 targets/support/functions.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/targets/support/functions.sh b/targets/support/functions.sh
index f743d419..b330ce25 100755
--- a/targets/support/functions.sh
+++ b/targets/support/functions.sh
@@ -27,10 +27,10 @@ clear_portage() {
        [ -e ${clst_chroot_path}${clst_make_conf} ] && echo "Drop 
\$CATALYST_USE from USE on ${clst_chroot_path}${clst_make_conf}"
        [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e 
"/^USE=\"/s/\${CATALYST_USE} //" ${clst_chroot_path}${clst_make_conf}
        [ -e ${clst_chroot_path}${clst_make_conf} ] && echo "Remove 
\$CATALYST_USE on ${clst_chroot_path}${clst_make_conf}"
-       [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e 
"/^CATALYST_USE/d" ${clst_chroot_path}${clist_make_conf}
+       [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e 
"/^CATALYST_USE/d" ${clst_chroot_path}${clst_make_conf}
 
        if [ -n "${clst_portage_prefix}" ]; then
-               for dir in "keywords", "mask", "unmask", "use"; do
+               for dir in "keywords" "mask" "unmask" "use"; do
                        [ -d 
${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix} ] &&
                                echo "Clear 
${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix}"
                        [ -d 
${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix} ] &&

Reply via email to