aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Yue Gan <yueg@google.com>2016-05-23 13:04:10 +0000
committerGravatar Yue Gan <yueg@google.com>2016-05-23 13:10:34 +0000
commitd186b17b9fa50f9be18ccb2a6a12983e28b958d7 (patch)
tree91a0bbd4487c1389ec326b7aab54917a63796b75 /src
parenta2aae350196325097634b9d595aa1a24ee47c3b9 (diff)
Uses "zip -@" to avoid arguments with too many files. Fixes #1303.
-- MOS_MIGRATED_REVID=122990255
Diffstat (limited to 'src')
-rw-r--r--src/test/shell/bazel/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index 7f3937e71e..2b3578a237 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -150,7 +150,7 @@ genrule(
"//third_party:srcs",
],
outs = ["doc-srcs.zip"],
- cmd = "zip -q $@ $(SRCS)",
+ cmd = "echo $(SRCS) | tr ' ' '\n' | zip -q@ $@",
)
sh_test(