On Thu, 16 Sep 2010 13:49:37 +0200, Antoine Dechaume
<dechaume@cerfacs.fr> wrote:
> Hi,
>
> would it be possible to add an optional argument for ecopy so that an
> alternative portage url (RSURL) coulb be chosen?
>
> Thanks,
> Antoine.
You already can..
RSURL=${RSURL:-"http://tinderbox.dev.gentoo.org/portage"}
means if RSURL is not set, it defaults to tinderbox.dev.g.o
${parameter:-word}
Use Default Values. If parameter is unset or null, the
expanâ
sion of word is substituted. Otherwise, the value of
parameter
is substituted.
-Jeremy