summaryrefslogtreecommitdiff
path: root/test/lua
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-02-27 03:24:18 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-02-27 16:55:55 +0900
commitfa53a3ce94eeed38367d238b3f7818105f3d7ce9 (patch)
tree95698f5208f725a82b7dfb3cdf6acbdcadb886a5 /test/lua
parentce283d56647ed3ec7f0c574be86be2959dc5c04c (diff)
downloadthrift-fa53a3ce94eeed38367d238b3f7818105f3d7ce9.tar.gz
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
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lua/Makefile.am b/test/lua/Makefile.am
index 91de535be..ed8c5aee8 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