Configure: Escape special chars when inserting configure invocation/defines into rev.cpp

This commit is contained in:
Jonathan G Rennison
2019-10-14 22:17:44 +01:00
parent 93dffed00a
commit a50d82775f
2 changed files with 2 additions and 2 deletions

View File

@@ -3747,7 +3747,7 @@ make_sed() {
s@!!DISTCC!!@$distcc@g;
s@!!NFORENUM!!@$nforenum@g;
s@!!GRFCODEC!!@$grfcodec@g;
s@!!CONFIGURE_INVOCATION!!@$CONFIGURE_INVOCATION@g;
s@!!CONFIGURE_INVOCATION!!@`echo "$CONFIGURE_INVOCATION" | sed 's!@!\\\\@!g;s!"!\\\\\\\\"!g'`@g;
"
if [ "$icon_theme_dir" != "" ]; then