From 8ad70ce912c6ca7d72114d27f188eae03b562940 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 19 Dec 2011 16:50:02 -0600 Subject: [PATCH] try some more guesses for where prefix is --- support-d/fscore_pb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/support-d/fscore_pb b/support-d/fscore_pb index 66c049a863..71ea1404bc 100755 --- a/support-d/fscore_pb +++ b/support-d/fscore_pb @@ -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