Merge pull request #899 from pherl/cc_bazel

Use && for internal_copied_filegroup.
This commit is contained in:
Jisi Liu 2015-10-21 10:57:47 -07:00
commit 96da4edde0

View File

@ -180,9 +180,9 @@ def internal_copied_filegroup(
name=name+"_genrule", name=name+"_genrule",
srcs=srcs, srcs=srcs,
outs=outs, outs=outs,
cmd=";".join(["cp $(location %s) $(location %s)" % \ cmd=" && ".join(["cp $(location %s) $(location %s)" %
(s, _RelativeOutputPath(s, include)) \ (s, _RelativeOutputPath(s, include))
for s in srcs])) for s in srcs]))
native.filegroup( native.filegroup(
name=name, name=name,