mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
(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
This commit is contained in:
parent
4d8edc5269
commit
aabfa63c47
@ -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 ; \
|
||||
|
Loading…
Reference in New Issue
Block a user