fortune(6): Add FORTUNE_PATH env variable.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 1 Sep 2016 07:15:36 +0000 (10:15 +0300)
committerzrj <zrj@dragonflybsd.org>
Thu, 1 Sep 2016 15:36:12 +0000 (18:36 +0300)
commit31b695b4b083b160b2e86792b018942c4235e1b9
tree094568803e5647201578b30b779b7d740ddf1fa8
parentbd5b2c7273a9e8af8b8bd4f6d292ad47af782211
fortune(6): Add FORTUNE_PATH env variable.

There was a slight debug logic error in init_prob().
Also search for fortunes in default dports location too.

Taken-from: FreeBSD
games/fortune/fortune/fortune.6
games/fortune/fortune/fortune.c
games/fortune/fortune/pathnames.h