mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix BusyBox sed (#6340)
BusyBox sed works the same way as GNU sed Signed-off-by: tipok <me@tipok.pro>
This commit is contained in:
parent
5bf7ca688f
commit
98a6fc5a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ autoload -U +X bashcompinit && bashcompinit
|
|||
# use word boundary patterns for BSD or GNU sed
|
||||
LWORD='[[:<:]]'
|
||||
RWORD='[[:>:]]'
|
||||
if sed --help 2>&1 | grep -q GNU; then
|
||||
if sed --help 2>&1 | grep -q 'GNU\|BusyBox'; then
|
||||
LWORD='\<'
|
||||
RWORD='\>'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue