On 10 April 2013 07:13, Baptiste Daroussin <[email protected]> wrote:
> On Tue, Apr 09, 2013 at 08:59:50PM +0200, Michael Gmelin wrote:
>> On Tue, 9 Apr 2013 19:43:15 +0100
>> Chris Rees <[email protected]> wrote:
>>
>>
>> >
>> > No, it's a bug in pkgng; it should respect @cwd.
>> >
>
> No it is not.
>
> While i agree with pkgng that should repect @cwd (it surely does)
>
> There is nothing written anywhere that will waranty you that the @exec line 
> will
> be parsed in order ro prepend @cwd path to a path you provide. the only thing
> doing that is %D.
>
> A user MUST add %D and have complete path in @exec lines
>
> In fact in that case it works by chance becauce of how pkg_install treat 
> plist.

Am I misunderstanding the meaning of "current working directory"?

When mkdir is called, it should create the directory in @cwd.
pkg_install's behaviour is correct here, and pkgng's is not.

Chris
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to