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 ${ECONF_SOURCE:-.}/script_file.py > > and > > export NAME=value > ${ECONF_SOURCE:-.}/script_file.py > > but the both fail to pass the parameter via the environment variable to the > script. > > How can I do it? Please point it out if I overlooked something. >
Either of the method you listed about should work. Are you sure the script is looking for an environment variable?