summaryrefslogtreecommitdiff
path: root/xmake/rules/protobuf/proto.lua
diff options
context:
space:
mode:
authorLiu <[email protected]>2019-12-02 21:32:50 +0800
committerLiu <[email protected]>2019-12-02 21:33:15 +0800
commit30d4183095aa5dcdb9cbe00b1b48e45ca31424fe (patch)
treeb8e47b54d84dab64cc9a65e101fcc947e52ea6cc /xmake/rules/protobuf/proto.lua
parent45b739d927c89d93d85f626ab77dee70746c1cd3 (diff)
clear tail white space
Diffstat (limited to 'xmake/rules/protobuf/proto.lua')
-rw-r--r--xmake/rules/protobuf/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/protobuf/proto.lua b/xmake/rules/protobuf/proto.lua
index 41ae6a388..0a1d4d4df 100644
--- a/xmake/rules/protobuf/proto.lua
+++ b/xmake/rules/protobuf/proto.lua
@@ -32,7 +32,7 @@ function main(target, sourcekind, sourcefile_proto, opt)
-- find protoc
local protoc = target:data("protobuf.protoc")
if not protoc and sourcekind == "cxx" then
- protoc = find_tool("protoc")
+ protoc = find_tool("protoc")
if protoc and protoc.program then
target:data_set("protobuf.protoc", protoc.program)
end