From c1467e410daf3953f081d588118f85175d0362aa Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 13 Feb 2003 16:34:19 +0000 Subject: 18238: bashcompinit was not being installed with --enable-function-subdirs --- 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