about summary refs log tree commit diff
path: root/Config
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-08-07 09:08:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-08-07 09:08:50 +0000
commit34def9b74d64af50f469e74d0fafbefd37844e17 (patch)
tree59e939d48b17bd6a0a429e5ee3f843bb88899cde /Config
parentab14a745a6a90f83cda3806fa9593405c71ea47d (diff)
downloadzsh-34def9b74d64af50f469e74d0fafbefd37844e17.tar.gz
zsh-34def9b74d64af50f469e74d0fafbefd37844e17.tar.xz
zsh-34def9b74d64af50f469e74d0fafbefd37844e17.zip
15583: ignore CVS directories for a all function installations
Diffstat (limited to 'Config')
-rwxr-xr-xConfig/installfns.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/Config/installfns.sh b/Config/installfns.sh
index ccbeae6d5..76d937413 100755
--- a/Config/installfns.sh
+++ b/Config/installfns.sh
@@ -13,9 +13,11 @@ allfuncs="`cd $sdir_top; echo ${allfuncs}`"
 # (1) the glob got expanded (2) we are not looking at directories.
 for file in $allfuncs; do
   if test -f $sdir_top/$file; then
+    case "$file" in
+      */CVS/*) continue;;
+    esac
     if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then
       case "$file" in
-      */CVS/*) continue;;
       Completion/comp*)
         subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`"
         instdir="$fndir/Completion"