Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 16:03:07 +0300
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        Danny Pansters <danny@ricin.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Problems running pkgdb -fF
Message-ID:  <4603D00B.3080406@FreeBSD.org>
In-Reply-To: <200703222325.43113.danny@ricin.com>
References:  <1174330341.26866.32.camel@shumai.marcuscom.com>	<46001864.8050005@FreeBSD.org>	<cb5206420703201106j7bc724e1vc8f7a99ecd3fa021@mail.gmail.com> <200703222325.43113.danny@ricin.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Danny Pansters wrote:
> There should be single (or escaped double) quotes inside the "" for the sed 
> argument. Seems to be caused by the combination of [ ] with \t. Observe:
> 
> desktop# cat /COPYRIGHT | sed s/[ \t]//
> sed: 1: "s/[": unbalanced brackets ([])
> 
> But cat /COPYRIGHT | sed 's/[ \t]//' is OK. 
> So "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|" should be replaced 
> by "'s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|'"
> 
> Not tested as I'm not in sync with latest portstree and I don't know Ruby.

No. Renew the ports tree and update portupgrade. I've removed a patch
caused the problem.

-- 
Dixi.
Sem.



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