From 6159c9222ecc6f86f3152de7396b3cd8b234f7a5 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 21 Sep 2012 12:50:08 +0200 Subject: [PATCH] Make sed expression in Makefile compatible with BSD style sed Apparently sed as available on Mac, requires a terminating semicolon in the command list. As gnu-sed is OK with and without the semicolon we add it for compatibility. Note that the "{" command of historical seds may not support multiple commands on a single line. Reported-by: Georg Signed-off-by: Tobias Grosser Signed-off-by: Sven Verdoolaege --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f8a623d5..4954063c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -288,7 +288,7 @@ gitversion.h: @GIT_HEAD@ $(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@ install-data-local: $(srcdir)/isl.py - @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p}" \ + @libisl=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \ $(builddir)/libisl.la`; \ case $$libisl in \ '') echo Cannot find isl library name. GDB bindings not installed.;; \ -- 2.11.4.GIT