From 3d7263ff67534b5d533c1d78eca8d648b72bca93 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 13:04:04 +0000 Subject: after-move cleanup --- Config/installfns.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Config') diff --git a/Config/installfns.sh b/Config/installfns.sh index a0ef6a25b..90258c7dd 100755 --- a/Config/installfns.sh +++ b/Config/installfns.sh @@ -14,8 +14,16 @@ allfuncs="`cd $sdir_top; echo ${allfuncs}`" for file in $allfuncs; do if test -f $sdir_top/$file; then if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then - subdir="`echo $file | sed -e 's%/[^/]*$%%' -e 's%^Functions/%%'`" - instdir="$fndir/$subdir" + case "$file" in + Completion/*) + subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`" + instdir="$fndir/$subdir" + ;; + *) + subdir="`echo $file | sed -e 's%/[^/]*$%%' -e 's%^Functions/%%'`" + instdir="$fndir/$subdir" + ;; + esac else instdir="$fndir" fi -- cgit 1.4.1