Set LC_ALL=C in order to avoid problems with character ranges and

sorting.

PR:		bin/104505
MFC after:	3 days
This commit is contained in:
Colin Percival 2006-10-21 11:04:34 +00:00
parent e75d2f3694
commit f2890dbd24
2 changed files with 6 additions and 0 deletions

View File

@ -1926,6 +1926,9 @@ cmd_rollback () {
# Make sure we find utilities from the base system
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PATH}
# Set LC_ALL in order to avoid problems with character ranges like [A-Z].
export LC_ALL=C
get_params $@
for COMMAND in ${COMMANDS}; do
cmd_${COMMAND}

View File

@ -1032,6 +1032,9 @@ cmd_update() {
# Make sure we find utilities from the base system
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PATH}
# Set LC_ALL in order to avoid problems with character ranges like [A-Z].
export LC_ALL=C
get_params $@
for COMMAND in ${COMMANDS}; do
cmd_${COMMAND}