try some more guesses for where prefix is

This commit is contained in:
Anthony Minessale 2011-12-19 16:50:02 -06:00
parent 8073c9d626
commit 8ad70ce912
1 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,15 @@ fi
if [ -z "$prefix" -a -d "/opt/freeswitch" ] ; then
prefix="/opt/freeswitch"
fi
if [ -z "$prefix" ] ; then
prefix=$FS_PREFIX
fi
if [ -z "$prefix" -a -f "./bin/freeswitch" ] ; then
prefix=`pwd`
fi
if [ -z "$prefix" ] ; then
echo "Unable to locate freeswitch prefix directory."
exit 255