blob: 8a5be27c7d0b4374d6a058f16fd00cee7122bcb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur autofs-4.1.3-orig/samples/auto.net autofs-4.1.3/samples/auto.net
--- autofs-4.1.3-orig/samples/auto.net 2006-05-19 23:24:51.000000000 -0400
+++ autofs-4.1.3/samples/auto.net 2006-05-19 23:25:17.000000000 -0400
@@ -21,7 +21,7 @@
# Newer distributions get this right
SHOWMOUNT="/usr/sbin/showmount --no-headers -e $key"
-$SHOWMOUNT | sort +0 | \
+$SHOWMOUNT | LC_ALL=C sort -k 1 | \
awk -v key="$key" -v opts="$opts" -- '
BEGIN { ORS=""; first=1 }
{ if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }
|