From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Si7hm-0003ZD-LL for garchives@archives.gentoo.org; Fri, 22 Jun 2012 17:31:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1E1BE095F; Fri, 22 Jun 2012 17:29:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 743DFE095F for ; Fri, 22 Jun 2012 17:29:27 +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 B3AC71B401F for ; Fri, 22 Jun 2012 17:29:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 7CDAAE5442 for ; Fri, 22 Jun 2012 17:29:24 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1182540838.da8c73d626d9023fb6c27973bee0e66679c40c89.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:eselect-emacs-1.1 commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ctags.eselect ctags.eselect.5 emacs.eselect X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: da8c73d626d9023fb6c27973bee0e66679c40c89 X-VCS-Branch: eselect-emacs-1.1 Date: Fri, 22 Jun 2012 17:29:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e6e557fc-3692-476e-b9f5-119b404ac183 X-Archives-Hash: 11f87f7e028148c8f358a7a4df24a6b6 commit: da8c73d626d9023fb6c27973bee0e66679c40c89 Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Fri Jun 22 19:33:58 2007 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Fri Jun 22 19:33:58 2007 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3Dda8c73d6 Minor formatting changes. Fix copy&paste error in manpage. svn path=3D/emacs-extra/eselect-emacs/; revision=3D451 --- ctags.eselect | 5 ++--- ctags.eselect.5 | 2 +- emacs.eselect | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ctags.eselect b/ctags.eselect index 0522c0d..a3a9c73 100644 --- a/ctags.eselect +++ b/ctags.eselect @@ -164,8 +164,7 @@ do_set() { [[ ${#@} -gt 1 ]] && die -q "Too many parameters" test_for_root =20 - if [[ -e "${ROOT}/usr/bin/ctags" ]] \ - && ! [[ -L "${ROOT}/usr/bin/ctags" ]]; then + if [[ -e "${ROOT}/usr/bin/ctags" && ! -L "${ROOT}/usr/bin/ctags" ]]; th= en die -q "Sorry, ${ROOT}/usr/bin/ctags exists but is not a symlink" fi =20 @@ -185,7 +184,6 @@ do_update() { local ctags=3D"" if [[ -L "${ROOT}/usr/bin/ctags" ]]; then ctags=3D$(basename $(canonicalise "${ROOT}/usr/bin/ctags") ) - [[ "${ctags}" =3D=3D ctags-*emacs* ]] && ctags=3D"ctags-*emacs*" if [[ ! -e $(canonicalise "${ROOT}/usr/bin/ctags") ]]; then # clean up dead symlinks remove_symlinks || die -q "Couldn't remove existing symlink" @@ -201,6 +199,7 @@ do_update() { local i target targets=3D( $(find_targets) ) if [[ ${#targets[@]} -gt 0 ]]; then target=3D${targets[0]} + [[ "${ctags}" =3D=3D ctags-*emacs* ]] && ctags=3D"ctags-*emacs*" for i in ${targets[@]}; do [[ "${i}" =3D=3D "${ctags}" ]] && target=3D"${i}" done diff --git a/ctags.eselect.5 b/ctags.eselect.5 index 47023e4..3d97c8e 100644 --- a/ctags.eselect.5 +++ b/ctags.eselect.5 @@ -14,7 +14,7 @@ ctags.eselect \- The ctags management module for Gentoo= 's eselect .br \fBeselect ctags show\fR .br -\fBeselect ctags update\fR [\fI--if-unset\fR] +\fBeselect ctags update\fR .SH "DESCRIPTION" \fBeselect\fR is Gentoo's configuration and management tool. It features modules that care for the individual administrative tasks. diff --git a/emacs.eselect b/emacs.eselect index 895368c..ddaa16c 100644 --- a/emacs.eselect +++ b/emacs.eselect @@ -207,8 +207,7 @@ do_set() { [[ ${#@} -gt 1 ]] && die -q "Too many parameters" test_for_root =20 - if [[ -e "${ROOT}/usr/bin/emacs" ]] \ - && ! [[ -L "${ROOT}/usr/bin/emacs" ]]; then + if [[ -e "${ROOT}/usr/bin/emacs" && ! -L "${ROOT}/usr/bin/emacs" ]]; th= en die -q "Sorry, ${ROOT}/usr/bin/emacs exists but is not a symlink" fi =20