Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] GIT: hwloc branch master updated. 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2014-03-29 10:59:19


Jeff,
Where does this LS_COLORS variable come from? Who is setting it?
Brice

Le 27/03/2014 11:45, MPI Team a écrit :
> The branch, master has been updated
> via 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec (commit)
> from 00f85033d269e2c312370bb24043f92a92dff7e3 (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
>
> - Log -----------------------------------------------------------------
> https://github.com/open-mpi/hwloc/commit/0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
>
> commit 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
> Author: Jeff Squyres <jsquyres_at_[hidden]>
> Date: Thu Mar 27 06:28:45 2014 -0400
>
> BUILD: fix "make dist" failure on some linux distro with old csh/tcsh
>
> On some linux distro (sles11sp2) csh fails to parse $LS_COLORS and
> borks with error: Unknown colorls variable `mh'.
>
> The workaround is to unset LS_COLORS before calling to csh script.
> ---
> Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index ca9c00c..34d0aa2 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1,6 +1,6 @@
> # Copyright © 2009-2014 Inria. All rights reserved.
> # Copyright © 2009 Université Bordeaux 1
> -# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
> +# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
> # See COPYING in top-level directory.
>
> # Note that the -I directory must *exactly* match what was specified
> @@ -48,7 +48,7 @@ endif
>
> if HWLOC_BUILD_STANDALONE
> dist-hook:
> - csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
> + env LS_COLORS= csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
> endif HWLOC_BUILD_STANDALONE
>
> #
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>
> hooks/post-receive