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
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
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
3 matches
Mail list logo