diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-09-14 02:56:28 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-09-14 02:56:28 +0200 |
commit | 2da1b6da261e67bb74059e353c7c689d793cc60c (patch) | |
tree | 7e88440e1ac67b72551f4e6d326713941d3561f0 | |
parent | 7cd42984d306f3a06b7e2b72aadbc4d41c0e3ebf (diff) | |
download | play-2da1b6da261e67bb74059e353c7c689d793cc60c.tar.gz play-2da1b6da261e67bb74059e353c7c689d793cc60c.tar.bz2 play-2da1b6da261e67bb74059e353c7c689d793cc60c.zip |
Allow 'PLAY_ENV_...' and 'PLAY_EENV_...' to be defined interactively
-rwxr-xr-x | play.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,10 +97,12 @@ play_prepare () { play_setenv () { for e v in ${(kv)ENV}; do + v=${(P)${:-PLAY_ENV_$e}:-$v} exp $e $v done for e v in ${(kv)EENV}; do + v=${(P)${:-PLAY_EENV_$e}:-$v} exp $e `eval $v` done } |