1 |
On Thu, 16 Sep 2010 13:49:37 +0200, Antoine Dechaume |
2 |
<dechaume@×××××××.fr> wrote: |
3 |
> Hi, |
4 |
> |
5 |
> would it be possible to add an optional argument for ecopy so that an |
6 |
> alternative portage url (RSURL) coulb be chosen? |
7 |
> |
8 |
> Thanks, |
9 |
> Antoine. |
10 |
|
11 |
You already can.. |
12 |
|
13 |
RSURL=${RSURL:-"http://tinderbox.dev.gentoo.org/portage"} |
14 |
|
15 |
means if RSURL is not set, it defaults to tinderbox.dev.g.o ;) |
16 |
|
17 |
${parameter:-word} |
18 |
Use Default Values. If parameter is unset or null, the |
19 |
expan‐ |
20 |
sion of word is substituted. Otherwise, the value of |
21 |
parameter |
22 |
is substituted. |
23 |
|
24 |
-Jeremy |