maint.mk: sort file names *after* new transformation
authorJim Meyering <meyering@redhat.com>
Sun, 20 Mar 2011 10:31:11 +0000 (11:31 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 20 Mar 2011 10:31:11 +0000 (11:31 +0100)
* top/maint.mk (sc_po_check): Sorting before removing the $(srcdir)/
prefix would have led to an unwarranted failure in GNU parted.
Sort after that transformation.

ChangeLog
top/maint.mk

index 1b42d3c7b7d422213624dbab63246e802a79f95f..269cbf24369cb8b84e778c54f1176782219a4314 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-20  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: sort file names *after* new transformation
+       * top/maint.mk (sc_po_check): Sorting before removing the $(srcdir)/
+       prefix would have led to an unwarranted failure in GNU parted.
+       Sort after that transformation.
+
 2011-03-19  Jim Meyering  <meyering@redhat.com>
 
        maint.mk: fix po-file syntax-check rule
index fd192c97d79a6de7d93c42a1162ab7ca888f60f5..3f7d983360954e9acdc20068951915680274e4bb 100644 (file)
@@ -976,7 +976,7 @@ sc_po_check:
            files="$$files $$file";                                     \
          done;                                                         \
          grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files          \
-           | sort -u | sed 's|^$(_dot_escaped_srcdir)/||' > $@-2;      \
+           | sed 's|^$(_dot_escaped_srcdir)/||' | sort -u > $@-2;      \
          diff -u -L $(po_file) -L $(po_file) $@-1 $@-2                 \
            || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; };   \
          rm -f $@-1 $@-2;                                              \