Fix building Bazel under the new Linux sandbox
find(1) defaults to not following symlinks, which doesn't work when all
the folders get replaced with symlinks.
--
Change-Id: I016db7bfefb308eb7026d2a52ba768613895dfee
Reviewed-on: https://bazel-review.googlesource.com/c/6810/
MOS_MIGRATED_REVID=139063351
diff --git a/scripts/packages/BUILD b/scripts/packages/BUILD
index ca73a8f..27efd3e 100644
--- a/scripts/packages/BUILD
+++ b/scripts/packages/BUILD
@@ -133,7 +133,7 @@
"version.txt",
],
cmd =
- "find . -name stable-status.txt -exec cat '{}' ';'" +
+ "find -L . -name stable-status.txt -exec cat '{}' ';'" +
" | grep EMBED_LABEL | cut -d ' ' -f 2-" +
# Debian package manager does not order our rcs correctly, insert a tilde
# Non RC version number are not matched by the regex, example translations: