From 3f588ef05f56031de452e940b0f4b4fd5453b4ed Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 18 Feb 2003 15:53:19 +0000 Subject: merge changes from 4.1 --- Config/installfns.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Config') diff --git a/Config/installfns.sh b/Config/installfns.sh index 76d937413..8dc1214b0 100755 --- a/Config/installfns.sh +++ b/Config/installfns.sh @@ -18,13 +18,12 @@ for file in $allfuncs; do esac if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then case "$file" in - Completion/comp*) + Completion/*/*) subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`" - instdir="$fndir/Completion" + instdir="$fndir/$subdir" ;; Completion/*) - subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`" - instdir="$fndir/$subdir" + instdir="$fndir/Completion" ;; *) subdir="`echo $file | sed -e 's%/[^/]*$%%' -e 's%^Functions/%%'`" -- cgit 1.4.1