To cover all bases, should "--no-complete" and "--no-everything" also be put at 
the beginning of CAVE_RESOLVE_OPTIONS? That would guarantee that only one of 
"-z", "-c", or "-e" would be passed to "cave resolve".  In this case, 
CAVE_RESOLVE_OPTIONS would be:

"--no-lazy --no-complete --no-everything --complete"

Or, since "--complete overrides the previous --no-complete":

"--no-lazy --no-everything --complete"

Regards,

Tom


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ciaran McCreesh
Sent: Tuesday, September 07, 2010 2:07 PM
To: [email protected]
Subject: Re: [paludis-user] CAVE_RESOLVE_OPTIONS and fix-linkage

On Tue, 7 Sep 2010 20:01:08 +0200
Petr Kopecký <[email protected]> wrote:
> There is some conflict between CAVE_RESOLVE_OPTIONS and "cave 
> fix-linkage".
> 
> # echo $CAVE_RESOLVE_OPTIONS
> --complete --reinstall-scm never
> 
> # cave fix-linkage
> Usage error: At most one of '--lazy', '--complete' or '--everything'
> may be specified
> 
> Fix-linkage works without any problem if I unset CAVE_RESOLVE_OPTIONS.
> 
> What's wrong here?

Mm, that's a bit weird. 'cave fix-linkage' automatically passes --lazy on to 
'cave resolve'. You'll need to put '--no-lazy --complete' in 
CAVE_RESOLVE_OPTIONS for that to work.

This may change at some point... Still not sure of the best way to handle 
things like this.

--
Ciaran McCreesh
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to