diff options
author | Fahrzin Hemmati <fahhem@appliedintuition.com> | 2018-03-14 15:23:23 -0700 |
---|---|---|
committer | Fahrzin Hemmati <fahhem@appliedintuition.com> | 2018-05-07 15:40:31 -0700 |
commit | a6501e4a2b491ad6d27a8e47e93b74e3230a5406 (patch) | |
tree | 91d5c1b8125ce0e37ed4ab17bbe7701393ea1cee /protobuf.bzl | |
parent | 800f8d66bf30a9cc822e892102c86ec3e96c97df (diff) | |
download | protobuf-a6501e4a2b491ad6d27a8e47e93b74e3230a5406.tar.gz protobuf-a6501e4a2b491ad6d27a8e47e93b74e3230a5406.tar.bz2 protobuf-a6501e4a2b491ad6d27a8e47e93b74e3230a5406.zip |
Strip trailing / from path
Diffstat (limited to 'protobuf.bzl')
-rw-r--r-- | protobuf.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protobuf.bzl b/protobuf.bzl index 2d8556f9..98e18108 100644 --- a/protobuf.bzl +++ b/protobuf.bzl @@ -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): |