summaryrefslogtreecommitdiffstats
path: root/usr.sbin/portsnap
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2006-10-21 11:04:34 +0000
committercperciva <cperciva@FreeBSD.org>2006-10-21 11:04:34 +0000
commit09db1858a756478aef3a5b46ab5909c7f5d51fb2 (patch)
treec759b6e8a7c39cee3380f150b3417b7bb3e4733b /usr.sbin/portsnap
parent95ec5519d637486cfef8f1d7adb51a19622977e2 (diff)
downloadFreeBSD-src-09db1858a756478aef3a5b46ab5909c7f5d51fb2.zip
FreeBSD-src-09db1858a756478aef3a5b46ab5909c7f5d51fb2.tar.gz
Set LC_ALL=C in order to avoid problems with character ranges and
sorting. PR: bin/104505 MFC after: 3 days
Diffstat (limited to 'usr.sbin/portsnap')
-rw-r--r--usr.sbin/portsnap/portsnap/portsnap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh
index 6cecd49..e13b87d 100644
--- a/usr.sbin/portsnap/portsnap/portsnap.sh
+++ b/usr.sbin/portsnap/portsnap/portsnap.sh
@@ -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}
OpenPOWER on IntegriCloud