mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 13:01:28 +02:00
15583: ignore CVS directories for a all function installations
This commit is contained in:
parent
ab14a745a6
commit
34def9b74d
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-07 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 15583: Config/installfns.sh: ignore CVS directories for
|
||||||
|
all function installations, not just with subdirectories.
|
||||||
|
|
||||||
2001-08-07 Sven Wischnowsky <wischnow@zsh.org>
|
2001-08-07 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
* 15584: Src/parse.c: increment zwc fie version (which means
|
* 15584: Src/parse.c: increment zwc fie version (which means
|
||||||
|
|
|
@ -13,9 +13,11 @@ allfuncs="`cd $sdir_top; echo ${allfuncs}`"
|
||||||
# (1) the glob got expanded (2) we are not looking at directories.
|
# (1) the glob got expanded (2) we are not looking at directories.
|
||||||
for file in $allfuncs; do
|
for file in $allfuncs; do
|
||||||
if test -f $sdir_top/$file; then
|
if test -f $sdir_top/$file; then
|
||||||
if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then
|
|
||||||
case "$file" in
|
case "$file" in
|
||||||
*/CVS/*) continue;;
|
*/CVS/*) continue;;
|
||||||
|
esac
|
||||||
|
if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then
|
||||||
|
case "$file" in
|
||||||
Completion/comp*)
|
Completion/comp*)
|
||||||
subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`"
|
subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`"
|
||||||
instdir="$fndir/Completion"
|
instdir="$fndir/Completion"
|
||||||
|
|
Loading…
Reference in a new issue