Print this page
 4680 nightly and bldenv need to set LC_ALL if they want to fully override the locale


 138           c)    flags.c=true  ;;
 139           +c)   flags.c=false ;;
 140           f)    flags.f=true  ;;
 141           +f)   flags.f=false ;;
 142           d)    flags.d=true  SUFFIX=""    ;;
 143           +d)   flags.d=false SUFFIX="-nd" ;;
 144           t)    flags.t=true  ;;
 145           +t)   flags.t=false ;;
 146           \?)   usage ;;
 147     esac
 148 done
 149 shift $((OPTIND-1))
 150 
 151 # test that the path to the environment-setting file was given
 152 if (( $# < 1 )) ; then
 153         usage
 154 fi
 155 
 156 # force locale to C
 157 export \


 158         LC_COLLATE=C \
 159         LC_CTYPE=C \
 160         LC_MESSAGES=C \
 161         LC_MONETARY=C \
 162         LC_NUMERIC=C \
 163         LC_TIME=C
 164 
 165 # clear environment variables we know to be bad for the build
 166 unset \
 167         LD_OPTIONS \
 168         LD_LIBRARY_PATH \
 169         LD_AUDIT \
 170         LD_BIND_NOW \
 171         LD_BREADTH \
 172         LD_CONFIG \
 173         LD_DEBUG \
 174         LD_FLAGS \
 175         LD_LIBRARY_PATH_64 \
 176         LD_NOVERSION \
 177         LD_ORIGIN \




 138           c)    flags.c=true  ;;
 139           +c)   flags.c=false ;;
 140           f)    flags.f=true  ;;
 141           +f)   flags.f=false ;;
 142           d)    flags.d=true  SUFFIX=""    ;;
 143           +d)   flags.d=false SUFFIX="-nd" ;;
 144           t)    flags.t=true  ;;
 145           +t)   flags.t=false ;;
 146           \?)   usage ;;
 147     esac
 148 done
 149 shift $((OPTIND-1))
 150 
 151 # test that the path to the environment-setting file was given
 152 if (( $# < 1 )) ; then
 153         usage
 154 fi
 155 
 156 # force locale to C
 157 export \
 158         LC_ALL=C \
 159         LANG=C \
 160         LC_COLLATE=C \
 161         LC_CTYPE=C \
 162         LC_MESSAGES=C \
 163         LC_MONETARY=C \
 164         LC_NUMERIC=C \
 165         LC_TIME=C
 166 
 167 # clear environment variables we know to be bad for the build
 168 unset \
 169         LD_OPTIONS \
 170         LD_LIBRARY_PATH \
 171         LD_AUDIT \
 172         LD_BIND_NOW \
 173         LD_BREADTH \
 174         LD_CONFIG \
 175         LD_DEBUG \
 176         LD_FLAGS \
 177         LD_LIBRARY_PATH_64 \
 178         LD_NOVERSION \
 179         LD_ORIGIN \