Re: [gentoo-user] How to Set Environment Variables in Ebuilds

2014-01-14 Thread Mike Gilbert
On Mon, Jan 13, 2014 at 10:27 PM, Masanori Ogino masanori.og...@gmail.com wrote: Hello. I wrote an ebuild and it executes a small Python script bundled in the source. The Python script requires a environment variable to be set. I tried something like: NAME=value

Re: [gentoo-user] How to Set Environment Variables in Ebuilds

2014-01-14 Thread Masanori Ogino
Ahh, well, I understand my mistake now. Actually I want to pass ${ECONF_SOURCE}, and the variable could be empty, so NAME=${ECONF_SOURCE} might be expanded to NAME=, so the environment variable is unset. That's why I've seen a 'missing environment variable' error from the script. Thank you for

[gentoo-user] How to Set Environment Variables in Ebuilds

2014-01-13 Thread Masanori Ogino
Hello. I wrote an ebuild and it executes a small Python script bundled in the source. The Python script requires a environment variable to be set. I tried something like: NAME=value ${ECONF_SOURCE:-.}/script_file.py and export NAME=value ${ECONF_SOURCE:-.}/script_file.py but the