mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Prefer gawk over awk if both are available.
This commit is contained in:
parent
f71e22768c
commit
808527b5d0
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