From aabfa63c479fb8a0c5003291697ec139b1ddfc79 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Mon, 30 Jun 2008 22:27:29 +0000 Subject: [PATCH] (THRIFT-40) Remove stray \n's from the generated version.h git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@672945 13f79535-47bb-0310-9956-ffa450edef68 --- compiler/cpp/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am index 7cf41a81..90ef9a4a 100644 --- a/compiler/cpp/Makefile.am +++ b/compiler/cpp/Makefile.am @@ -99,8 +99,8 @@ regen_version_h: @printf "Regenerating version.h... " @TMPFILE=`mktemp ./version_h.tmp_XXXXXX` ; \ echo "// AUTOGENERATED, DO NOT EDIT" > $$TMPFILE ; \ - echo '#define THRIFT_VERSION "$(THRIFT_VERSION)"\n' >> $$TMPFILE ; \ - echo '#define THRIFT_REVISION "$(THRIFT_REVISION)"\n' >> $$TMPFILE ; \ + echo '#define THRIFT_VERSION "$(THRIFT_VERSION)"' >> $$TMPFILE ; \ + echo '#define THRIFT_REVISION "$(THRIFT_REVISION)"' >> $$TMPFILE ; \ if cmp $$TMPFILE version.h >/dev/null ; \ then \ rm -f $$TMPFILE ; \ -- 2.17.1