]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
build: fix a quoting bug when regenerating with bootstrap_edit.
authorGary V. Vaughan <gary@gnu.org>
Fri, 25 Nov 2011 07:50:37 +0000 (14:50 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 25 Nov 2011 07:53:41 +0000 (14:53 +0700)
* 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 <gary@gnu.org>
Makefile.am

index 2c6cf811a8d68be688bd02d772be3e52a36cd1ce..5420510e7a15d54648d0382f3f7a736fb3bc82da 100644 (file)
@@ -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