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 D1BCD138247 for ; Mon, 20 Jan 2014 17:55:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03AC6E1074; Mon, 20 Jan 2014 17:53:40 +0000 (UTC) Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DA98E1073 for ; Mon, 20 Jan 2014 17:53:34 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id a15so2112829eae.37 for ; Mon, 20 Jan 2014 09:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=FhlHc2KDlZKfPdkOJPRz2UaMMP675TvFyMx+5s8H3UA=; b=JPvBtIJbaxE0ruNJlq1AJwj6nAQwOnO+J5h8OSMzq7fJdxFC6hu5QGTATBclhI4f0o N9gXIFmAXzpGgt6kk4K1TrbpkawCShyFE4eTAgRhV8IkJM/v9sYfcKABj+tbri+GDjBj k9xi7rAJuMVOMYc0QKTmLvRDhMnKPdFf8N53HsSp9jNfpFl98DqwyfHjujxeWJp3B+/x vfD/cKgp/0X3oqOxFKdDYDb2HGugh14O8RuDgfq0iKplcMxWMw8egYf5OF/uzyQaBKVJ x1lj4D9QhH1aFu8JZCZ1pXEhWKktjbCZURi932Vnp8UDCm4HeNvwr+BIKgqDokxXK2oZ /8vQ== X-Received: by 10.14.122.5 with SMTP id s5mr18943481eeh.28.1390240408008; Mon, 20 Jan 2014 09:53:28 -0800 (PST) Received: from localhost.localdomain (dsl-trebrasgw2-58c0d8-67.dhcp.inet.fi. [88.192.216.67]) by mx.google.com with ESMTPSA id o47sm5514777eem.21.2014.01.20.09.53.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 09:53:27 -0800 (PST) From: Reinis Danne To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] [PATCH 10/10] alternatives-2.eclass: Use consistent quoting Date: Mon, 20 Jan 2014 19:53:12 +0200 Message-Id: <1390240392-12173-11-git-send-email-rei4dan@gmail.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1390240392-12173-1-git-send-email-rei4dan@gmail.com> References: <1390240392-12173-1-git-send-email-rei4dan@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org X-Archives-Salt: c4909a45-2d40-492d-929e-02b9d7262a05 X-Archives-Hash: 454d6b53495e31edf0870532808afc1c --- 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 d9896f1..9b1d8b2 100644 --- a/eclass/alternatives-2.eclass +++ b/eclass/alternatives-2.eclass @@ -141,7 +141,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 @@ -200,9 +200,9 @@ alternatives-2_pkg_prerm() { einfo "Removed ${provider} alternative module for ${alt}, current is $(eselect ${alt} show)" if [[ $? -eq 2 ]]; then einfo "Cleaning up unused alternatives module for ${alt}" - echo rm "${EAUTO}/${alt}.eselect" + echo "rm ${EAUTO}/${alt}.eselect" rm "${EAUTO}/${alt}.eselect" || \ - eerror rm "${EAUTO}/${alt}.eselect" failed + eerror "rm ${EAUTO}/${alt}.eselect failed" fi done } -- 1.8.5.3