cvs commit: ports/Tools/scripts addport

Steve Wills swills at FreeBSD.org
Tue Aug 16 00:11:10 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/15/11 18:44, Sahil Tandon wrote:
> On Mon, 2011-08-15 at 21:21:41 +0000, Steve Wills wrote:
> 
> [ .. ]
> 
>>   - Add check that port is in right directory as I've been bitten by
>>   this
> 
> This looks wrong.  Try adding a port as described in EXAMPLES, and it
> errors out with something similar to:
> 
>  % ./addport -n -d foo 
>  Working with port directory /usr/home/sahil/my_wrkdir/ports/mail/foo.
>  ./addport: Port category mail doesn't match dir foo !
> 

Ah, you're right, I didn't account for that usage. Reverted for now. I
may still try to find a way to check the dir if that's not considered a
bad idea in general (as opposed to the implementation being bad, which
it clearly was). Anyway, sorry about that, thanks for catching it.

Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJOSbWZAAoJEPXPYrMgexuhCBIH+weHPKtFqQ74L50fp9GMM86A
N/csF9/4wc7O6WRwRBXGsqufz7Ufb/IFpncsrRhj+/10YSyn+haF0OFP/4n2KUYk
TDzbo2NPEFaLaottRrKNXComf2WeW6SEIap8MhdAgyRfNgOoldbC2g4raacf0ERM
xheNGOp4P2dEGuVVeuaADj9EnxFVkwat8npwvdaZTWkFudH4imvFFlDy+SLaO5yK
nAQGU7eTcg07wuV8uEVOH59tdDdxHefAi6+HpXuS+3XuWlf0+On/MYkIMFzIfRjb
0sFf7prvCHSgU9iM/50WHaSlpzBbfwNuteaup+Z1swssMF0me5ST2O74mNC/TS8=
=ymmS
-----END PGP SIGNATURE-----


More information about the cvs-all mailing list