Repo Environment Variables

783 views
Skip to first unread message

Ne0

unread,
May 22, 2012, 6:17:57 AM5/22/12
to Repo and Gerrit Discussion
Hi there,

The environment variable do not appear to be working in my repo tree,
any idea's what i am doing wrong?

ptyhon -V
Python 2.6.6

repo forall -c "pwd; echo 'Repo Path: $REPO_PATH'"
....
/home/liam/android/system/packages/wallpapers/Basic
Repo Path:
/home/liam/android/system/packages/wallpapers/LivePicker
Repo Path:
/home/liam/android/system/packages/wallpapers/MagicSmoke
...

Thanks,

Ne0

Remy Bohmer

unread,
May 22, 2012, 6:39:13 AM5/22/12
to Ne0, Repo and Gerrit Discussion
Hi,

2012/5/22 Ne0 <liamjam...@googlemail.com>:
> Hi there,
>
> The environment variable do not appear to be working in my repo tree,
> any idea's what i am doing wrong?
>
> ptyhon -V
> Python 2.6.6
>
> repo forall -c "pwd; echo 'Repo Path: $REPO_PATH'"

Replace it with this:
repo forall -c 'pwd; echo "Repo Path: $REPO_PATH"'

Kind regards,

Remy

Ne0

unread,
May 22, 2012, 6:47:59 AM5/22/12
to Repo and Gerrit Discussion
Thank you, i must learn the difference between quotes, its not the
first time its tripped me up!

On May 22, 11:39 am, Remy Bohmer <li...@bohmer.net> wrote:
> Hi,
>
> 2012/5/22 Ne0 <liamjamesalf...@googlemail.com>:
Reply all
Reply to author
Forward
0 new messages