common/bin/compare.sh

changeset 2215
7a73b8b4ac8a
parent 912
a667caba1e84
child 2316
64a3eeabf6e5
     1.1 --- a/common/bin/compare.sh	Thu Apr 12 02:54:38 2018 -0700
     1.2 +++ b/common/bin/compare.sh	Mon Apr 16 00:48:00 2018 -0700
     1.3 @@ -114,7 +114,7 @@
     1.4      fi
     1.5      if test "x$SUFFIX" = "xproperties"; then
     1.6          # Run through nawk to add possibly missing newline at end of file.
     1.7 -        $CAT $OTHER_FILE | $NAWK '{ print }' > $OTHER_FILE.cleaned
     1.8 +        $CAT $OTHER_FILE | $NAWK '{ print }' | LC_ALL=C $SORT > $OTHER_FILE.cleaned
     1.9  # Disable this exception since we aren't changing the properties cleaning method yet.
    1.10  #        $CAT $OTHER_FILE | $SED -e 's/\([^\\]\):/\1\\:/g' -e  's/\([^\\]\)=/\1\\=/g' -e 's/#.*/#/g' \
    1.11  #            | $SED -f "$SRC_ROOT/common/makefiles/support/unicode2x.sed" \

mercurial