You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ns...@apache.org on 2016/02/27 08:57:12 UTC

[2/7] thrift git commit: THRIFT-3592 Add basic test client

THRIFT-3592 Add basic test client

Fix sed command so that it work for both linux and bsd sed.
Client: Build (Lua)
Patch: Nobuaki Sukegawa

This closes #900


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/fa53a3ce
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/fa53a3ce
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/fa53a3ce

Branch: refs/heads/master
Commit: fa53a3ce94eeed38367d238b3f7818105f3d7ce9
Parents: ce283d5
Author: Nobuaki Sukegawa <ns...@apache.org>
Authored: Sat Feb 27 03:24:18 2016 +0900
Committer: Nobuaki Sukegawa <ns...@apache.org>
Committed: Sat Feb 27 16:55:55 2016 +0900

----------------------------------------------------------------------
 test/lua/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/fa53a3ce/test/lua/Makefile.am
----------------------------------------------------------------------
diff --git a/test/lua/Makefile.am b/test/lua/Makefile.am
index 91de535..ed8c5ae 100644
--- a/test/lua/Makefile.am
+++ b/test/lua/Makefile.am
@@ -22,7 +22,8 @@ THRIFT = $(top_builddir)/compiler/cpp/thrift
 # Remove "MapType =" line to ignore some map bug for now
 stubs: ../ThriftTest.thrift $(THRIFT)
 	$(THRIFT) --gen lua $<
-	$(SED) -i 's/MapType =//g' gen-lua/ThriftTest_ttypes.lua
+	$(SED) -i.bak 's/MapType =//g' gen-lua/ThriftTest_ttypes.lua
+	$(RM) gen-lua/ThriftTest_ttypes.lua.bak
 
 precross: stubs