| commit | ef381e54b124a7bb71dcb883fdc999f3bd37d4ed | [log] [tgz] |
|---|---|---|
| author | Androbin <robin.richtsfeld@gmail.com> | Thu Dec 14 07:24:27 2017 -0800 |
| committer | Copybara-Service <copybara-piper@google.com> | Thu Dec 14 07:25:56 2017 -0800 |
| tree | 47f8f0e98ccfb24460b7b1d389670838eb08620b | |
| parent | 1b66574799a242b09f88a1b0cfe47a956f17fa87 [diff] |
Shell code cleanup
- Argument mixes string and array. Use * or separate argument.
- Quote the grep pattern so the shell won't interpret it.
- Use "${var:?}" to ensure this never expands to /* .
- > is for string comparisons. Use -gt instead.
- Quote the parameter to -name so the shell won't interpret it.
Closes #4163.
PiperOrigin-RevId: 179042046
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.