aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bazel/bash_completion.patch
diff options
context:
space:
mode:
authorOleg Titov <oleg.titov@gmail.com>2019-12-31 21:08:14 -0600
committerLeo <thinkabit.ukim@gmail.com>2020-01-01 17:44:04 +0100
commit755e4d30662f59972920cc1a97c611fc1acfc359 (patch)
tree75d88d6407abf696b6b1de5f40f62c51c56f2916 /testing/bazel/bash_completion.patch
parent1f6aefc41b1a12d505bdea22f58d437145a8f0e7 (diff)
downloadaports-755e4d30662f59972920cc1a97c611fc1acfc359.tar.bz2
aports-755e4d30662f59972920cc1a97c611fc1acfc359.tar.xz
testing/bazel: add bash completion
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=