pod2man: Fix for machines upgraded to Mavericks

Closes Homebrew/homebrew#24590.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Manpreet Singh 2013-11-22 07:57:55 -08:00 committed by Adam Vandenberg
parent 00cba6dc04
commit cf8cd9d4c2

View File

@ -1,3 +1,3 @@
#!/bin/bash
POD2MAN=$(/usr/bin/which pod2man5.12 || echo /usr/bin/pod2man)
POD2MAN=$(/usr/bin/which pod2man5.16 || /usr/bin/which pod2man5.12 || echo /usr/bin/pod2man)
exec $POD2MAN "$@"