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 917151382DD for ; Sat, 5 Jan 2013 13:47:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98F81E0667; Sat, 5 Jan 2013 13:47:42 +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 0D16AE0667 for ; Sat, 5 Jan 2013 13:47:41 +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 1AF2033DA23 for ; Sat, 5 Jan 2013 13:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CBF25E5446 for ; Sat, 5 Jan 2013 13:47:38 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1357391159.94cc23c8eb2dcafe1596dee6956e12c7415367a5.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: libs/ X-VCS-Repository: proj/eselect X-VCS-Files: libs/package-manager.bash.in X-VCS-Directories: libs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 94cc23c8eb2dcafe1596dee6956e12c7415367a5 X-VCS-Branch: master Date: Sat, 5 Jan 2013 13:47:38 +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: 463e0dc4-1259-462c-a96a-1a66d9d98505 X-Archives-Hash: 3baf4a57f9e9e9cedfb6e3b0425a9881 commit: 94cc23c8eb2dcafe1596dee6956e12c7415367a5 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 5 13:05:37 2013 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Sat Jan 5 13:05:59 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=94cc23c8 Whitespace. --- libs/package-manager.bash.in | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in index 193c3fb..a34575d 100644 --- a/libs/package-manager.bash.in +++ b/libs/package-manager.bash.in @@ -44,12 +44,13 @@ run_paludis() { arch() { local ret=$(envvar sys-devel/gcc ARCH) suffix - # $arch will be null if there's no current make.profile symlink - # we cannot get a list of valid profiles without it. - if [[ -z ${ret} ]] ; then - - if [[ -n ${ROOT} && ${ROOT} != "/" ]] ; then - write_warning_msg "Failed to determine \${ARCH}. Is your make.profile symlink valid?" + # $arch will be null if there's no current make.profile symlink. + # We cannot get a list of valid profiles without it. + if [[ -z ${ret} ]]; then + if [[ -n ${ROOT} && ${ROOT} != "/" ]]; then + write_warning_msg \ + "Failed to determine \${ARCH}." \ + "Is your make.profile symlink valid?" return 1 fi