Mercurial > octave-nkf
changeset 20354:227d582fa300 stable
build: Sort generated PKG_ADD contents consistently
* libinterp/mk-pkg-add: Set LC_COLLATE=C when sorting for consistent output.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 10 Jul 2015 01:10:30 -0400 |
parents | 45d7be391982 |
children | 8c4317b8f7c5 |
files | libinterp/mk-pkg-add |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/mk-pkg-add Thu Jul 09 21:45:26 2015 -0400 +++ b/libinterp/mk-pkg-add Fri Jul 10 01:10:30 2015 -0400 @@ -30,7 +30,7 @@ base=`basename $f | $SED 's/\.df$//'` fcns=`$SED -n -e 's/^ *XDEFUN_DLD_INTERNAL *( *\([^, ]*\)[, ].*$/\1/p' \ -e 's/^ *XDEFUNX_DLD_INTERNAL *( *"\([^"]*\)".*$/\1/p' $f | \ - sort -u` + LC_COLLATE=C sort -u` if [ -n "$fcns" ]; then for n in $fcns; do if [ "$n" = "$base" ]; then