Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2011 20:11:05 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        Sahil Tandon <sahil@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/Tools/scripts addport
Message-ID:  <4E49B599.1040803@FreeBSD.org>
In-Reply-To: <20110815224433.GC256@magic.hamla.org>
References:  <201108152121.p7FLLfhS098668@repoman.freebsd.org> <20110815224433.GC256@magic.hamla.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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