changeset 1211:e0c2ba5cc233

If environment sanitizing lets TOOLCHAIN_PREFIX through, it should let HOST_ARCH through too. And while we're at it, separate inherited variables from locally defined ones.
author Rob Landley <rob@landley.net>
date Mon, 16 Aug 2010 21:38:33 -0500
parents a36e985f6198
children 19f3be2b4d04
files sources/utility_functions.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sources/utility_functions.sh	Mon Aug 16 21:05:18 2010 -0500
+++ b/sources/utility_functions.sh	Mon Aug 16 21:38:33 2010 -0500
@@ -15,8 +15,8 @@
 
   # What other variables should we keep?
 
-  TEMP="$TEMP,LANG,PATH,TOPSHELL,START_TIME,STAGE_NAME,TOOLCHAIN_PREFIX"
-  TEMP="$TEMP,SHELL,TERM,USER,USERNAME,LOGNAME,PWD,EDITOR,HOME,DISPLAY,_"
+  TEMP="$TEMP,LANG,PATH,SHELL,TERM,USER,USERNAME,LOGNAME,PWD,EDITOR,HOME,DISPLAY,_"
+  TEMP="$TEMP,TOPSHELL,START_TIME,STAGE_NAME,TOOLCHAIN_PREFIX,HOST_ARCH"
 
   # Unset any variable we don't recognize.  It can screw up the build.