[PATCH] bootstrap: make sort use C locale consistently

Joel Sherrill joel at rtems.org
Fri Mar 31 19:59:53 UTC 2017


That seems more correct. The shell variable settings may only have been
applying to the ls.


--joel

On Fri, Mar 31, 2017 at 2:49 PM, Gedare Bloom <gedare at rtems.org> wrote:

> Closes #2965.
> ---
>  bootstrap | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bootstrap b/bootstrap
> index 455f642..9c2efa8 100755
> --- a/bootstrap
> +++ b/bootstrap
> @@ -42,7 +42,7 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR],
>    case "\$1" in
>  EOF
>
> -for i in `LANG=C LC_COLLATE=C ls */bsp_specs | sort`; do
> +for i in `ls */bsp_specs | LANG=C LC_COLLATE=C sort`; do
>    d=`dirname $i`
>  cat << EOF >> acinclude.m4~
>    $d )
> --
> 2.7.4
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170331/275a1a41/attachment-0002.html>


More information about the devel mailing list