From 0893c48bdaa0d1cc1bc9e434f43df14b5994ede3 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 25 Nov 2011 14:50:37 +0700 Subject: build: fix a quoting bug when regenerating with bootstrap_edit. * Makefile.am (m4/ltversion.m4, build-aux/ltmain.sh): The bootstrap_edit make macro already contains double quotes, so when echoing it, don't surround it with more double quotes since it is not escaped. Signed-off-by: Gary V. Vaughan --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2c6cf811..5420510e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -152,7 +152,7 @@ $(ltversion_m4): $(ltversion_in) $(dotversion) serial=`$(git_commit_count)`; \ fi; \ if test 0 = '$(V)'; then echo " GEN " $@; \ - else echo "$(bootstrap_edit) '$(ltversion_in)' > '$@'"; fi; \ + else echo $(bootstrap_edit) "'$(ltversion_in)' > '$@'"; fi; \ $(bootstrap_edit) '$(ltversion_in)' > '$@'; \ chmod a-w '$@'; \ fi @@ -179,7 +179,7 @@ $(ltmain_sh): $(ltmain_m4sh) $(sh_files) $(dotversion) if $$rebuild; then \ rm -f '$@'; \ if test 0 = '$(V)'; then echo " GEN " $@; \ - else echo "$(LT_M4SH) '$(ltmain.m4sh)' | $(ltmain_sh_edit) > '$@'"; fi; \ + else echo "$(LT_M4SH) '$(ltmain.m4sh)' |" $(ltmain_sh_edit) "> '$@'"; fi; \ $(LT_M4SH) '$(ltmain_m4sh)' | $(ltmain_sh_edit) > '$@'; \ chmod a-w '$@'; \ fi -- cgit v1.2.1