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",
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,