mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #581 from LawnGnome/solaris-gawk
Prefer gawk over awk if both are available. Fixes rbenv-help on Solaris 11.1
This commit is contained in:
commit
fe0b2436b8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ extract_initial_comment_block() {
|
|||
}
|
||||
|
||||
collect_documentation() {
|
||||
awk '
|
||||
$(type -p gawk awk | head -1) '
|
||||
/^Summary:/ {
|
||||
summary = substr($0, 10)
|
||||
next
|
||||
|
|
Loading…
Reference in a new issue