zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>,
	<zsh-workers@sunsite.dk>
Subject: Re: More problems - functions installed as dirs (RE: Functions moved)
Date: Mon, 2 Apr 2001 16:43:46 +0000	[thread overview]
Message-ID: <1010402164347.ZM28917@candle.brasslantern.com> (raw)
In-Reply-To: <000701c0bb8b$ed149050$21c9ca95@mow.siemens.ru>

On Apr 2,  7:45pm, Andrej Borsenkow wrote:
} Subject: More problems - functions installed as dirs (RE: Functions moved)
}
} After cvs up and clean reconfigure in empty directory I got:
} 
} drwxr-xr-x   2 root     other         96 Apr  2 19:42 compaudit/
} drwxr-xr-x   2 root     other         96 Apr  2 19:42 compdump/
} drwxr-xr-x   2 root     other         96 Apr  2 19:42 compinit/
} drwxr-xr-x   2 root     other         96 Apr  2 19:42 compinstall/

% cvs -d barts@cvs.zsh.sourceforge.net:/cvsroot/zsh co -P -d new zsh
% cd new
% ./configure --enable-function-subdirs --prefix=/tmp/zshnew
% make
% make install
% ls -l /tmp/zshnew/share/zsh/4.0.1-pre-2/functions/Completion 
total 93
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 AIX/
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 BSD/
drwxr-xr-x   2 schaefer schaefer     2048 Apr  2 09:22 Base/
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 Debian/
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 Linux/
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 Redhat/
drwxr-xr-x   2 schaefer schaefer     2048 Apr  2 09:22 Unix/
drwxr-xr-x   2 schaefer schaefer     1024 Apr  2 09:22 X/
drwxr-xr-x   2 schaefer schaefer     2048 Apr  2 09:22 Zsh/
-rw-r--r--   1 schaefer schaefer     4587 Apr  2 09:22 compaudit
-rw-r--r--   1 schaefer schaefer     3952 Apr  2 09:22 compdump
-rw-r--r--   1 schaefer schaefer    14511 Apr  2 09:22 compinit
-rw-r--r--   1 schaefer schaefer    55681 Apr  2 09:22 compinstall

The only problem is:

%ls -l /tmp/zshnew/share/zsh/4.0.1-pre-2/functions/Completion/Linux
total 3
-rw-r--r--   1 schaefer schaefer       82 Apr  2 09:22 Entries
-rw-r--r--   1 schaefer schaefer       34 Apr  2 09:22 Repository
-rw-r--r--   1 schaefer schaefer       43 Apr  2 09:22 Root

It missed _apm entirely (because it's not in a sub-subdirectory, I guess)
and every one of the other directories got the files from its CVS subdir
installed.  That didn't happen before ...

Index: Config/installfns.sh
===================================================================
RCS file: /cvsroot/zsh/zsh/Config/installfns.sh,v
retrieving revision 1.6
diff -u -r1.6 installfns.sh
--- Config/installfns.sh	2001/04/02 14:36:38	1.6
+++ Config/installfns.sh	2001/04/02 16:43:04
@@ -15,6 +15,7 @@
   if test -f $sdir_top/$file; then
     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"

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  parent reply	other threads:[~2001-04-02 16:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-02 13:16 Functions moved Sven Wischnowsky
2001-04-02 14:01 ` Oliver Kiddle
2001-04-02 14:10   ` Andrej Borsenkow
2001-04-02 14:10   ` Clint Adams
2001-04-02 14:16     ` Clint Adams
2001-04-02 14:38   ` Oliver Kiddle
2001-04-02 14:12 ` wrong fpath (RE: Functions moved) Andrej Borsenkow
2001-04-02 14:18   ` Andrej Borsenkow
2001-04-02 14:58 ` Functions moved Bart Schaefer
2001-04-02 15:45 ` More problems - functions installed as dirs (RE: Functions moved) Andrej Borsenkow
2001-04-02 15:50   ` Andrej Borsenkow
2001-04-02 16:43   ` Bart Schaefer [this message]
2001-04-03 12:49     ` Andrej Borsenkow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010402164347.ZM28917@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).