2013-09-27 21:34:45 +01:00
|
|
|
#!/bin/bash
|
2016-08-07 12:54:56 +02:00
|
|
|
|
2021-04-18 19:43:46 +09:00
|
|
|
# HOMEBREW_PREFIX is set by bin/brew
|
|
|
|
# shellcheck disable=SC2154
|
2021-04-21 12:32:39 +01:00
|
|
|
POD2MAN="$(type -P pod2man ||
|
2021-04-21 10:51:18 +01:00
|
|
|
type -P pod2man5.30 ||
|
|
|
|
type -P pod2man5.28 ||
|
|
|
|
type -P pod2man5.18 ||
|
2018-03-17 23:02:05 -07:00
|
|
|
type -P pod2man5.16 ||
|
|
|
|
type -P pod2man5.12 ||
|
2021-04-21 12:32:39 +01:00
|
|
|
type -P /usr/bin/pod2man ||
|
2021-04-18 19:43:46 +09:00
|
|
|
type -P "${HOMEBREW_PREFIX}/opt/pod2man/bin/pod2man" ||
|
2016-08-07 12:54:56 +02:00
|
|
|
echo /usr/bin/pod2man)"
|
2021-04-18 19:43:46 +09:00
|
|
|
exec "${POD2MAN}" "$@"
|