Date: Thu, 27 Mar 1997 14:13:51 -0700 (MST) From: chad@anasazi.com (Chad R. Larson) To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: freebsd-stable@freebsd.org Subject: Re: documentation suggestion Message-ID: <9703272113.AA10220@chad.anasazi.com> In-Reply-To: <9876.859449654@time.cdrom.com> from "Jordan K. Hubbard" at Mar 27, 97 00:00:54 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Silly me. I took the word "override" in the man page literally. I > > quote: > > > > @srcdir directory > > Sets the internal directory pointer for _creation only_ to directory. > > That is to say that it overrides @cwd for package creation but > > not extraction. > > > > How about instead for the second sentence to read "Works just like @cwd > > except it is ignored during extraction." > > Uh, but it's correct. :-) > > @srcdir really does override, that is to say overlay, @cwd. The two > values can exist independantly of one another and @srcdir is only > preferred if seen during creation, after that the @cwd variable > takes precedence. > > Jordan > But look at my first cut (the one that didn't work). Up near the top I had a @srcdir that pointed to the dirctory (/usr/local/src/ediff) where the development of the package was taking place. I expected that to take precedence ("override") during the creation process. But the subsequent @cwd statements (to /usr/local/bin and /usr/local/man) still caused a "-C" switch to be shoved down the pipe to tar. I ended up having to cover each @cwd with another @srcdir, and in that order. An understandable behavior, having read the code. But not what I read the man page to say. I'm suggesting verbage in the man page to clarify the behavior. That is, that @srcdir is ignored during extraction and acted upon during creation, but that @cwd is acted upon both times. -crl -- Chad R. Larson (CRL22) Brother, can you paradigm? 602-870-3330 chad@anasazi.com chad@anasaz.UUCP chad@dcfinc.com Anasazi, Inc. - 7500 North Dreamy Draw Drive, Suite 120, Phoenix, Az 85020
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9703272113.AA10220>