Date: Thu, 26 Jun 2003 11:03:44 -0400 From: Dwayne MacKinnon <Dwayne.MacKinnon@xwave.com> To: Julian Elischer <julian@elischer.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: pkg_create broken? Message-ID: <3EFB0B50.2090603@xwave.com> In-Reply-To: <Pine.BSF.4.21.0306251435120.3793-100000@InterJet.elischer.org> References: <Pine.BSF.4.21.0306251435120.3793-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. An experiment using just @srcdir and @dstdir might be worthwhile... Cheers, DMK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EFB0B50.2090603>