Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 23:13:05 +0100
From:      Kirill Ponomarew <krion@voodoo.bawue.com>
To:        cvs-all@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/add extract.c src/usr.sbin/pkg_install/create perform.c pkg_create.1 pl.c src/usr.sbin/pkg_install/info show.c src/usr.sbin/pkg_install/lib plist.c
Message-ID:  <20060107221305.GA14034@voodoo.bawue.com>
In-Reply-To: <200601072210.k07MAwJb059621@repoman.freebsd.org>
References:  <200601072210.k07MAwJb059621@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 07, 2006 at 10:10:58PM +0000, Kirill Ponomarew wrote:
> krion       2006-01-07 22:10:58 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/pkg_install/add extract.c 
>     usr.sbin/pkg_install/create perform.c pkg_create.1 pl.c 
>     usr.sbin/pkg_install/info show.c 
>     usr.sbin/pkg_install/lib plist.c 
>   Log:
>   When using @cwd %%FOO%%, we must ensure to return in the original
>   prefix later, but doing so with @cwd %%OLDPREFIX%% (having
>   PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
>   list. That's not really a problem when dealing with ports but that's
>   a problem with packages since pkg_add -p option only overrides the
>   first @cwd occurrence.
>   
>   This patch allow us to use @cwd without any argument. If no
>   directory argument is given, it will set current working directory
>   to the first prefix given by the @cwd command.
>   
>   PR:             bin/77212
>   Submitted by:   flz

MFC after: 3 days

-Kirill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107221305.GA14034>