aports/testing/bazel6/0003-Make-generate_bash_completion-compatible-with-busybo.patch
2023-03-07 05:39:44 +00:00

13 lines
339 B
Diff

diff --git a/scripts/generate_bash_completion.sh b/scripts/generate_bash_completion.sh
index 778810570c..46a3965f85 100755
--- a/scripts/generate_bash_completion.sh
+++ b/scripts/generate_bash_completion.sh
@@ -34,7 +34,7 @@ die() {
}
get_optarg() {
- expr -- "${1}" : "[^=]*=\\(.*\\)"
+ expr "${1}" : "[^=]*=\\(.*\\)"
}
append=