try some more guesses for where prefix is
This commit is contained in:
parent
8073c9d626
commit
8ad70ce912
|
@ -16,6 +16,15 @@ fi
|
||||||
if [ -z "$prefix" -a -d "/opt/freeswitch" ] ; then
|
if [ -z "$prefix" -a -d "/opt/freeswitch" ] ; then
|
||||||
prefix="/opt/freeswitch"
|
prefix="/opt/freeswitch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$prefix" ] ; then
|
||||||
|
prefix=$FS_PREFIX
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$prefix" -a -f "./bin/freeswitch" ] ; then
|
||||||
|
prefix=`pwd`
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$prefix" ] ; then
|
if [ -z "$prefix" ] ; then
|
||||||
echo "Unable to locate freeswitch prefix directory."
|
echo "Unable to locate freeswitch prefix directory."
|
||||||
exit 255
|
exit 255
|
||||||
|
|
Loading…
Reference in New Issue