summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-05-03 11:43:18 +0000
committerUlrich Müller <ulm@gentoo.org>2008-05-03 11:43:18 +0000
commita321dc64da25f31f5dc214d6a4074839b12d5857 (patch)
tree591c25179b91d2a6a27b41c1cda9069a2d6ac03e
parentRename a variable. (diff)
downloademacs-tools-a321dc64da25f31f5dc214d6a4074839b12d5857.tar.gz
emacs-tools-a321dc64da25f31f5dc214d6a4074839b12d5857.tar.bz2
emacs-tools-a321dc64da25f31f5dc214d6a4074839b12d5857.zip
Always die if ctags is not a symlink.
svn path=/eselect-emacs/; revision=1048
-rw-r--r--ChangeLog4
-rw-r--r--ctags.eselect5
2 files changed, 2 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 357f00b..a18cfc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,8 +6,8 @@
* emacs.eselect (do_set, do_update): Call only the ctags module,
since the etags module is called indirectly from it.
- * ctags.eselect (do_set, do_update): Remove additional test for
- real file under FreeBSD.
+ * ctags.eselect (do_set): Always die if ctags is not a symlink.
+ (do_update): Remove additional test for real file under FreeBSD.
2008-05-01 Ulrich Mueller <ulm@gentoo.org>
diff --git a/ctags.eselect b/ctags.eselect
index 2fa17ba..4c4a75b 100644
--- a/ctags.eselect
+++ b/ctags.eselect
@@ -176,11 +176,6 @@ do_set() {
if [[ -e "${ROOT}/usr/bin/${CTAGS}" && ! -L "${ROOT}/usr/bin/${CTAGS}" ]]
then
- if [[ ${CTAGS} == ctags && $(uname) == FreeBSD ]]; then
- # On FreeBSD ctags is a real file, installed by freebsd-ubin
- echo "${ROOT}/usr/bin/ctags is a real file - no action"
- return
- fi
die -q "Sorry, ${ROOT}/usr/bin/${CTAGS} exists but is not a symlink"
fi