Mercurial > hg > aboriginal
comparison sources/utility_functions.sh @ 1469:9a3f7ada5cb1
Pass through more/record-commands.sh wrapper variables in enviroment variable whitelisting.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 03 Dec 2011 17:51:38 -0600 |
parents | e26390768b3c |
children | 06c06aeaf547 |
comparison
equal
deleted
inserted
replaced
1468:13b2bd9781a3 | 1469:9a3f7ada5cb1 |
---|---|
14 TEMP=$(echo $(sed -n 's/.*export[ \t]*\([^=]*\)=.*/\1/p' config) | sed 's/ /,/g') | 14 TEMP=$(echo $(sed -n 's/.*export[ \t]*\([^=]*\)=.*/\1/p' config) | sed 's/ /,/g') |
15 | 15 |
16 # What other variables should we keep? | 16 # What other variables should we keep? |
17 | 17 |
18 TEMP="$TEMP,LANG,PATH,SHELL,TERM,USER,USERNAME,LOGNAME,PWD,EDITOR,HOME,DISPLAY,_" | 18 TEMP="$TEMP,LANG,PATH,SHELL,TERM,USER,USERNAME,LOGNAME,PWD,EDITOR,HOME,DISPLAY,_" |
19 TEMP="$TEMP,TOPSHELL,START_TIME,STAGE_NAME,TOOLCHAIN_PREFIX,HOST_ARCH" | 19 TEMP="$TEMP,TOPSHELL,START_TIME,STAGE_NAME,TOOLCHAIN_PREFIX,HOST_ARCH,WRAPPY_LOGPATH,OLDPATH" |
20 TEMP="$TEMP,http_proxy,ftp_proxy,https_proxy,no_proxy" | 20 TEMP="$TEMP,http_proxy,ftp_proxy,https_proxy,no_proxy" |
21 | 21 |
22 # Unset any variable we don't recognize. It can screw up the build. | 22 # Unset any variable we don't recognize. It can screw up the build. |
23 | 23 |
24 for i in $(env | sed -n 's/=.*//p') | 24 for i in $(env | sed -n 's/=.*//p') |