#!/bin/sh

f=""
p=`echo $PATH | sed -e 's/:/ /g'`
for d in $p; do
	if [ -x "$d/fortune" ]; then
		f=$d/fortune
		break
	fi
	if [ "$f" != "" ]; then break; fi
done

if [ -x "$f" ]; then
	echo
	$f
else
	echo
	cat <<EOT
Laws represent the failure of love. -- Arthur Laffin
EOT
fi

echo
echo "Now edit the PREFIX variable of Makefile, then run 'make'."
echo
