aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bazel/bash_completion.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bazel/bash_completion.patch')
-rw-r--r--testing/bazel/bash_completion.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/bazel/bash_completion.patch b/testing/bazel/bash_completion.patch
new file mode 100644
index 0000000000..74cedc6a77
--- /dev/null
+++ b/testing/bazel/bash_completion.patch
@@ -0,0 +1,13 @@
+Bash completion patch to fix error in expr
+
+--- a/scripts/generate_bash_completion.sh.orig
++++ a/scripts/generate_bash_completion.sh
+@@ -34,7 +34,7 @@
+ }
+
+ get_optarg() {
+- expr -- "${1}" : "[^=]*=\\(.*\\)"
++ expr "${1}" : "[^=]*=\\(.*\\)"
+ }
+
+ append=