On Thu, 26 Jun 2003, Dwayne MacKinnon wrote:
> Julian Elischer wrote: > > Alternatively, the man page hints that > > a 'srcdir' would stop a following 'cwd' from having effect in the create > > phase. > > Just wanted to mention that order is extremely important with package > creation. If you have @cwd /foo/bar; @srcdir /bar/foo your files will be > picked up from /bar/foo. If you have @srcdir /bar/foo; @cwd /foo/bar > your files will be picked up from /foo/bar. @cwd changes the directory > pointer for both creation and extraction, and so if you have @cwd AFTER > @srcdir the @srcdir command effectively gets over-written. yes but if you have a @cwd followed by an @srcdir then tar gets told to chdir to both places and it quits with an error if the first one doesn't exist, even if it need not exist. > > An experiment using just @srcdir and @dstdir might be worthwhile... > > Cheers, > DMK > > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"