From 0c36f4e54ec7cd74d54240e8c84490263481ba60 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Mon, 1 Feb 2016 15:15:39 -0500 Subject: [PATCH] xpp/Makefile.am: Fix 'make install' for newer versions of 'file' More recent versions of the 'file' command (on CentOS 7 and Ubuntu 14.04 at least) output 'Perl' instead of 'perl' so a compile-time check was failing where it shouldn't. Reported and proposed patch by Xabier de Zuazo. Fixes DAHTOOL-70 Signed-off-by: Sean Bright --- xpp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpp/Makefile.am b/xpp/Makefile.am index d06fffe..1ee76d5 100644 --- a/xpp/Makefile.am +++ b/xpp/Makefile.am @@ -24,7 +24,7 @@ if PERL SUBDIRS += perl_modules %.8: % - @if file "$^" | cut -d: -f2 | grep -q perl; then \ + @if file "$^" | cut -d: -f2 | grep -i -q perl; then \ if pod2man --section 8 $^ > $@; then \ echo " GEN $@"; \ else \ -- 1.9.1