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 56DC21381F3 for ; Sun, 7 Jul 2013 12:30:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEBE2E0957; Sun, 7 Jul 2013 12:30:47 +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 6F67DE0957 for ; Sun, 7 Jul 2013 12:30:47 +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 8747333E7C5 for ; Sun, 7 Jul 2013 12:30:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 216EAE468F for ; Sun, 7 Jul 2013 12:30:45 +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: <1373200206.eeb450b9979960112388251e725ce4f6c70f184f.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: libs/, /, modules/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog libs/editor-variable.bash.in modules/locale.eselect X-VCS-Directories: libs/ / modules/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: eeb450b9979960112388251e725ce4f6c70f184f X-VCS-Branch: master Date: Sun, 7 Jul 2013 12:30:45 +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: 0247c510-92bf-4e10-8752-340ec891c04e X-Archives-Hash: d5595a9c02bc0facf78ca66fa927c9cd commit: eeb450b9979960112388251e725ce4f6c70f184f Author: Ulrich Müller gentoo org> AuthorDate: Sun Jul 7 12:30:06 2013 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Sun Jul 7 12:30:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=eeb450b9 Fix return status in editor-variable lib and locale module, bug 473308. * libs/editor-variable.bash.in (do_set): * modules/locale.eselect (do_set): Don't return bad status when ROOT is nontrivial, bug 473308. Thanks to gmail.com>. --- ChangeLog | 6 ++++++ libs/editor-variable.bash.in | 6 ++++-- modules/locale.eselect | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f55c083..38284d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-07-07 Ulrich Müller + + * libs/editor-variable.bash.in (do_set): + * modules/locale.eselect (do_set): Don't return bad status when + ROOT is nontrivial, bug 473308. Thanks to . + 2013-07-06 Ulrich Müller * configure.ac: Update version to 1.3.6. diff --git a/libs/editor-variable.bash.in b/libs/editor-variable.bash.in index 0ddea92..4de9736 100644 --- a/libs/editor-variable.bash.in +++ b/libs/editor-variable.bash.in @@ -155,8 +155,10 @@ do_set() { # update profile do_action env update noldconfig - [[ ${ROOT:-/} = / ]] && echo \ - "Run \". ${EROOT}/etc/profile\" to update the variable in your shell." + if [[ ${ROOT:-/} = / ]]; then + echo "Run \". ${EROOT}/etc/profile\" to update the variable" \ + "in your shell." + fi } ### update action ### diff --git a/modules/locale.eselect b/modules/locale.eselect index e01478d..1f2cd29 100644 --- a/modules/locale.eselect +++ b/modules/locale.eselect @@ -125,6 +125,8 @@ do_set() { # update profile do_action env update noldconfig - [[ ${ROOT:-/} = / ]] && echo \ - "Run \". ${EROOT}/etc/profile\" to update the variable in your shell." + if [[ ${ROOT:-/} = / ]]; then + echo "Run \". ${EROOT}/etc/profile\" to update the variable" \ + "in your shell." + fi }