[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: [PATCH] build: fix a quoting bug when regenerating with bootstrap_e
From: |
Gary V. Vaughan |
Subject: |
FYI: [PATCH] build: fix a quoting bug when regenerating with bootstrap_edit. |
Date: |
Fri, 25 Nov 2011 15:49:03 +0700 |
Applied as obvious.
* 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 <address@hidden>
---
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 2c6cf81..5420510 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
--
1.7.7.4
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: [PATCH] build: fix a quoting bug when regenerating with bootstrap_edit.,
Gary V. Vaughan <=