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 31E1A1381F3 for ; Thu, 25 Jul 2013 05:33:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5B0EE09F4; Thu, 25 Jul 2013 05:33:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 489D9E09F4 for ; Thu, 25 Jul 2013 05:33:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3358233E9BD for ; Thu, 25 Jul 2013 05:33:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 81388E545F for ; Thu, 25 Jul 2013 05:33:12 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1374730336.18f268e8914ec61d76d7ccf575acdd8da100247c.mattst88@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: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 18f268e8914ec61d76d7ccf575acdd8da100247c X-VCS-Branch: master Date: Thu, 25 Jul 2013 05:33:12 +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: 72aa328e-77d9-49fe-b818-efe9b2733eb2 X-Archives-Hash: c72ffc75bfbbb6868508866997e5d9aa commit: 18f268e8914ec61d76d7ccf575acdd8da100247c Author: Matt Turner gmail com> AuthorDate: Thu Jul 25 05:32:16 2013 +0000 Commit: Matt Turner gmail com> CommitDate: Thu Jul 25 05:32:16 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=18f268e8 chroot-functions: Give variables more appropriate names. --- targets/support/chroot-functions.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh index a46268d..75ad7f9 100644 --- a/targets/support/chroot-functions.sh +++ b/targets/support/chroot-functions.sh @@ -144,24 +144,24 @@ setup_myemergeopts(){ setup_binutils(){ if [ -x /usr/bin/binutils-config ] then - mythang=$( cd /etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 ) - if [ -z "${mythang}" ] + my_binutils=$( cd /etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 ) + if [ -z "${my_binutils}" ] then - mythang=1 + my_binutils=1 fi - binutils-config ${mythang}; update_env_settings + binutils-config ${my_binutils}; update_env_settings fi } setup_gcc(){ if [ -x /usr/bin/gcc-config ] then - mythang=$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 ) - if [ -z "${mythang}" ] + my_gcc=$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 ) + if [ -z "${my_gcc}" ] then - mythang=1 + my_gcc=1 fi - gcc-config ${mythang}; update_env_settings + gcc-config ${my_gcc}; update_env_settings fi }