Permalink
Browse files

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.
  • Loading branch information...
1 parent 00f8503 commit 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec @jsquyres jsquyres committed Mar 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile.am
View
@@ -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
#

0 comments on commit 0e6fe30

Please sign in to comment.