mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user