1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -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:
Mislav Marohnić
2014-04-19 15:29:31 +02:00

View File

@@ -36,7 +36,7 @@ extract_initial_comment_block() {
}
collect_documentation() {
awk '
$(type -p gawk awk | head -1) '
/^Summary:/ {
summary = substr($0, 10)
next