Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:catalyst_use commit in: targets/support/
Date: Tue, 04 Apr 2017 17:03:04
Message-Id: 1491325266.842861ff4a10997580794bdfe15e1ec4051574e1.jmbsvicetto@gentoo
1 commit: 842861ff4a10997580794bdfe15e1ec4051574e1
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 4 17:01:06 2017 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 4 17:01:06 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=842861ff
7
8 Fix typo and remove ',' from parameter list.
9
10 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
11
12 targets/support/functions.sh | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/targets/support/functions.sh b/targets/support/functions.sh
16 index f743d419..b330ce25 100755
17 --- a/targets/support/functions.sh
18 +++ b/targets/support/functions.sh
19 @@ -27,10 +27,10 @@ clear_portage() {
20 [ -e ${clst_chroot_path}${clst_make_conf} ] && echo "Drop \$CATALYST_USE from USE on ${clst_chroot_path}${clst_make_conf}"
21 [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e "/^USE=\"/s/\${CATALYST_USE} //" ${clst_chroot_path}${clst_make_conf}
22 [ -e ${clst_chroot_path}${clst_make_conf} ] && echo "Remove \$CATALYST_USE on ${clst_chroot_path}${clst_make_conf}"
23 - [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e "/^CATALYST_USE/d" ${clst_chroot_path}${clist_make_conf}
24 + [ -e ${clst_chroot_path}${clst_make_conf} ] && sed -i -e "/^CATALYST_USE/d" ${clst_chroot_path}${clst_make_conf}
25
26 if [ -n "${clst_portage_prefix}" ]; then
27 - for dir in "keywords", "mask", "unmask", "use"; do
28 + for dir in "keywords" "mask" "unmask" "use"; do
29 [ -d ${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix} ] &&
30 echo "Clear ${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix}"
31 [ -d ${clst_chroot_path}/etc/portage/package.${dir}/${clst_portage_prefix} ] &&