From 44e8cdf7bb9bf00fea4abcae9bace4af8bb6fd0a Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Oct 11 2005 11:33:54 +0000 Subject: - don't try to run cscope if cscope binary doesn't exist (#170371) --- diff --git a/vim.spec b/vim.spec index 6203a1d..0207b8c 100644 --- a/vim.spec +++ b/vim.spec @@ -28,7 +28,7 @@ Summary: The VIM editor. Name: vim Version: %{baseversion}.%{patchlevel} -Release: 1 +Release: 2 License: freeware Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 @@ -678,6 +678,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Oct 11 2005 Karsten Hopp 6.3.090-2 +- don't try to run cscope if cscope binary doesn't exist (#170371) + * Mon Oct 10 2005 Karsten Hopp 6.3.090-1 - patchlevel 90 - next attempt to fix perl requirements, add perl-epoch (#145475) diff --git a/vimrc b/vimrc index fb957ee..7a545b9 100644 --- a/vimrc +++ b/vimrc @@ -22,7 +22,7 @@ if has("autocmd") \ endif endif -if has("cscope") +if has("cscope") && filereadable("/usr/bin/cscope") set csprg=/usr/bin/cscope set csto=0 set cst