Commit a6501e4a authored by Fahrzin Hemmati's avatar Fahrzin Hemmati

Strip trailing / from path

parent 800f8d66
......@@ -94,7 +94,7 @@ def _proto_gen_impl(ctx):
for src, out in zip(srcs, ctx.outputs.outs):
args = []
in_gen_dir = src.root.path == gen_dir
in_gen_dir = src.root.path == gen_dir.rstrip('/')
if in_gen_dir:
import_flags_real = []
for f in depset(import_flags):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment