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 3658B1389E2 for ; Fri, 19 Dec 2014 07:28:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD4A6E0CD2; Fri, 19 Dec 2014 07:28:56 +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 CBC66E0CCE for ; Fri, 19 Dec 2014 07:28:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A74C340681 for ; Fri, 19 Dec 2014 07:28:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B72A1CD47 for ; Fri, 19 Dec 2014 07:28:53 +0000 (UTC) From: "Ulrich Müller" 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 Müller" Message-ID: <1418973648.5bbc24170c922ca97642ac3afd2f7ac896861b5e.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:eselect-emacs commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog ctags.eselect X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5bbc24170c922ca97642ac3afd2f7ac896861b5e X-VCS-Branch: eselect-emacs Date: Fri, 19 Dec 2014 07:28:53 +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: ea73cfd4-7116-46d4-a5c3-c3f39adbe830 X-Archives-Hash: 07154c7225b7f962c7d0e54f0296b00a commit: 5bbc24170c922ca97642ac3afd2f7ac896861b5e Author: Ulrich Müller gentoo org> AuthorDate: Fri Dec 19 07:20:48 2014 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Dec 19 07:20:48 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=5bbc2417 Use OSTYPE instead of uname to determine the system type. * ctags.eselect (do_update): Use OSTYPE bash variable instead of uname to determine the system type, in order to be consistent with eselect proper. --- ChangeLog | 4 ++++ ctags.eselect | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c96e6b..68db727 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2014-12-19 Ulrich Müller + * ctags.eselect (do_update): Use OSTYPE bash variable instead of + uname to determine the system type, in order to be consistent with + eselect proper. + * etags.eselect.5: New file, includes ctags.eselect man page via "so" request. * Makefile (DISTFILES): Add etags.eselect.5. diff --git a/ctags.eselect b/ctags.eselect index 8384e16..2bfc946 100644 --- a/ctags.eselect +++ b/ctags.eselect @@ -197,7 +197,7 @@ do_update() { remove_symlinks || die -q "Couldn't remove existing symlink" fi elif [[ -e ${EROOT}/usr/bin/${CTAGS} ]]; then - if ! [[ ${CTAGS} = ctags && $(uname) = FreeBSD ]]; then + if ! [[ ${CTAGS} = ctags && ${OSTYPE} = freebsd* ]]; then die -q "${EROOT}/usr/bin/${CTAGS} exists but is not a symlink" fi # On FreeBSD ctags is a real file, installed by freebsd-ubin