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 8A1B4138247 for ; Wed, 22 Jan 2014 10:09:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAF6CE10D8; Wed, 22 Jan 2014 10:09:40 +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 C59D9E10BA for ; Wed, 22 Jan 2014 10:09:39 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2ABB33FB10 for ; Wed, 22 Jan 2014 10:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id D345C187BD for ; Wed, 22 Jan 2014 10:09:36 +0000 (UTC) From: "Reinis Danne" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Reinis Danne" Message-ID: <1390334359.df4c5d00586e4084d5dde40bd94d6c9f8960b913.rei4dan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/alternatives-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: rei4dan X-VCS-Committer-Name: Reinis Danne X-VCS-Revision: df4c5d00586e4084d5dde40bd94d6c9f8960b913 X-VCS-Branch: master Date: Wed, 22 Jan 2014 10:09:36 +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: d9990f00-93bf-4799-a864-e0739ca69600 X-Archives-Hash: 207667ac9200fa133862bc6175b6bcf7 commit: df4c5d00586e4084d5dde40bd94d6c9f8960b913 Author: Reinis Danne gmail com> AuthorDate: Mon Jan 20 17:20:47 2014 +0000 Commit: Reinis Danne gmail com> CommitDate: Tue Jan 21 19:59:19 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=df4c5d00 alternatives-2.eclass: Use consistent quoting --- eclass/alternatives-2.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass index 132620e..4bf696e 100644 --- a/eclass/alternatives-2.eclass +++ b/eclass/alternatives-2.eclass @@ -145,7 +145,7 @@ cleanup_old_alternatives_module() { if [[ -f "${old_module}" && "$(source "${old_module}" &>/dev/null; echo "${ALTERNATIVE}")" == "${alt}" ]]; then local version="$(source "${old_module}" &>/dev/null; echo "${VERSION}")" if [[ "${version}" == "0.1" || "${version}" == "20080924" ]]; then - echo rm "${old_module}" + echo "rm ${old_module}" rm "${old_module}" || eerror "rm ${old_module} failed" fi fi @@ -212,10 +212,10 @@ alternatives-2_pkg_prerm() { 2) einfo "Cleaning up unused alternatives module for ${alt}" rm "${EAUTO}/${alt}.eselect" || \ - eerror rm "${EAUTO}/${alt}.eselect" failed + eerror "rm ${EAUTO}/${alt}.eselect failed" ;; *) - eerror eselect "${alt}" update "${provider}" returned $? + eerror "eselect ${alt} update ${provider} returned $?" ;; esac done