Used stream editor to replace " with \"

Signed-off-by: Mitul Chokshi <mitul.chok...@intel.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index d1644ac..a09ea0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -162,7 +162,7 @@ endif
 
 if HAVE_GIT_REPO
 src/git-version.h : $(top_srcdir)/.git/logs/HEAD
-       $(AM_V_GEN)echo "#define BUILD_ID \"$(shell git 
--git-dir=$(top_srcdir)/.git describe --always --dirty) $(shell git 
--git-dir=$(top_srcdir)/.git log -1 --format='%s (%ci)')\"" > $@
+       $(AM_V_GEN)echo "#define BUILD_ID \"$(shell git 
--git-dir=$(top_srcdir)/.git describe --always --dirty) $(shell git 
--git-dir=$(top_srcdir)/.git log -1 --format='%s (%ci)' | $(SED) 's|\"|\\\"|g' 
)\"" > $@
 else
 src/git-version.h :
        $(AM_V_GEN)echo "#define BUILD_ID \"unknown (not built from git or 
tarball)\"" > $@
-- 
1.9.1

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to