On Mon, 26 Nov 2012 14:49:40 +0000, Stuart Henderson wrote:
> On 2012/11/26 06:09, David Coppa wrote:
> > 
> > Hi,
> > 
> > Fix for the following error:
> > 
> > ===>  Installing wesnoth-1.10.4p1 from /usr/ports/packages/amd64/all/
> > wesnoth-1.10.4p1|**************************************************************************************************************************************|100%
> > /bin/sh: /etc/rc.d/bin/update-desktop-database: not found
> > system(/bin/sh, -c, /etc/rc.d/bin/update-desktop-database) failed:  
> > exit(127)
> 
> How come %D is being expanded to /etc/rc.d? That shouldn't happen.
> 
>              %D      Expands to the current directory prefix, as set with
>                      @cwd; in the example case /usr/local.
> 
> The only cwd in the package is @cwd /usr/local.
> 
> 

@rcscript performs an implicit @cwd to ${RCDIR} (as documented in
pkg_create(1)).

Reply via email to