Skip to content

Commit 1d772e3

Browse files
authored
Merge pull request kubernetes#82181 from tipok/master
fix BusyBox sed
2 parents 5481248 + 6885919 commit 1d772e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ autoload -U +X bashcompinit && bashcompinit
233233
# use word boundary patterns for BSD or GNU sed
234234
LWORD='[[:<:]]'
235235
RWORD='[[:>:]]'
236-
if sed --help 2>&1 | grep -q GNU; then
236+
if sed --help 2>&1 | grep -q 'GNU\|BusyBox'; then
237237
LWORD='\<'
238238
RWORD='\>'
239239
fi

0 commit comments

Comments
 (0)