From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3CF371384C0 for ; Mon, 31 Aug 2015 03:36:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6B2F1421F; Mon, 31 Aug 2015 03:36:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5384D1421F for ; Mon, 31 Aug 2015 03:36:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 55EBC3406C2 for ; Mon, 31 Aug 2015 03:36:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07E3F155 for ; Mon, 31 Aug 2015 03:36:05 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1440992164.487f1e94217c6a64b770a3f32d942eb613159be0.zerochaos@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/chroot-functions.sh X-VCS-Directories: targets/support/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 487f1e94217c6a64b770a3f32d942eb613159be0 X-VCS-Branch: master Date: Mon, 31 Aug 2015 03:36:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 23392ab1-83e5-43c6-bf77-492595d6fde7 X-Archives-Hash: 09c7c6719b32a8c69a07e094d8ba28ba commit: 487f1e94217c6a64b770a3f32d942eb613159be0 Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Mon Aug 31 03:36:04 2015 +0000 Commit: Richard Farina gentoo org> CommitDate: Mon Aug 31 03:36:04 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=487f1e94 fix USE="$USE $1" showing up in make.conf targets/support/chroot-functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh index 95904b3..253eee2 100755 --- a/targets/support/chroot-functions.sh +++ b/targets/support/chroot-functions.sh @@ -172,12 +172,12 @@ setup_pkgmgr(){ # Use --update or portage might just waste time/cycles and reinstall the same version. # Use --newuse to make sure it rebuilds with any changed use flags. if [ -n "$1" ];then - echo "Adding USE='${USE} $1' to make.conf for portage build" - [ -e ${clst_make_conf} ] && echo 'USE="${USE} $1"' >> ${clst_make_conf} + echo "Adding USE=\"${USE} $1\" to make.conf for portage build" + [ -e "${clst_make_conf}" ] && echo "USE=\"${USE} $1\"" >> "${clst_make_conf}" run_merge --oneshot --update --newuse sys-apps/portage - sed -i '/USE="${USE} $1"/d' ${clst_make_conf} + sed -i "/USE=\"${USE} $1\"/d" "${clst_make_conf}" else - echo "Updating portage with USE='${USE}'" + echo "Updating portage with USE=\"${USE}\"" run_merge --oneshot --update --newuse sys-apps/portage fi }