Skip to content

Commit bae2434

Browse files
committed
grep -e since it starts with hypen
1 parent 8825c25 commit bae2434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bazel/private/toolchains/prebuilt/protoc_authenticity.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _protoc_authenticity_impl(ctx):
1919
tools = [proto_lang_toolchain_info.proto_compiler],
2020
command = """\
2121
{protoc} --version > {validation_output}
22-
grep -q "-dev$" {validation_output} && {{
22+
grep -q -e "-dev$" {validation_output} && {{
2323
echo 'WARNING: Detected a development version of protoc.
2424
Development versions are not validated for authenticity.
2525
To ensure a secure build, please use a released version of protoc.'

0 commit comments

Comments
 (0)