comparison sources/utility_functions.sh @ 1603:84bd3248fad8

Whitelist one more variable.
author Rob Landley <rob@landley.net>
date Sun, 23 Jun 2013 18:07:31 -0500
parents b8dbb8d7d6cc
children c654511d227c
comparison
equal deleted inserted replaced
1602:045160e8ad71 1603:84bd3248fad8
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,WRAPPY_LOGPATH,OLDPATH" 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,TEMP,TMPDIR" 20 TEMP="$TEMP,http_proxy,ftp_proxy,https_proxy,no_proxy,TEMP,TMPDIR,FORK"
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')
25 do 25 do