Browse Source

Merge pull request #899 from pherl/cc_bazel

Use && for internal_copied_filegroup.
Jisi Liu 10 years ago
parent
commit
96da4edde0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      protobuf.bzl

+ 3 - 3
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,