diff options
author | Jisi Liu <liujisi@google.com> | 2015-10-21 10:57:47 -0700 |
---|---|---|
committer | Jisi Liu <liujisi@google.com> | 2015-10-21 10:57:47 -0700 |
commit | 96da4edde009c14e32aaab3f4da567a02d339633 (patch) | |
tree | cbfd9e28ccc9fa52721f919eddf4d3244f4a8639 | |
parent | 66e3a6d0b7b78f37be130e75bd73f6411a1f2a4f (diff) | |
parent | 6ddcae225cc7e5be35756759fc5d04cabbd1cf67 (diff) | |
download | protobuf-96da4edde009c14e32aaab3f4da567a02d339633.tar.gz protobuf-96da4edde009c14e32aaab3f4da567a02d339633.tar.bz2 protobuf-96da4edde009c14e32aaab3f4da567a02d339633.zip |
Merge pull request #899 from pherl/cc_bazel
Use && for internal_copied_filegroup.
-rw-r--r-- | protobuf.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protobuf.bzl b/protobuf.bzl index 2199caf1..0e2d44f7 100644 --- a/protobuf.bzl +++ b/protobuf.bzl @@ -180,9 +180,9 @@ def internal_copied_filegroup( name=name+"_genrule", srcs=srcs, outs=outs, - cmd=";".join(["cp $(location %s) $(location %s)" % \ - (s, _RelativeOutputPath(s, include)) \ - for s in srcs])) + cmd=" && ".join(["cp $(location %s) $(location %s)" % + (s, _RelativeOutputPath(s, include)) + for s in srcs])) native.filegroup( name=name, |