Modified: freeswitch/trunk/support-d/fscore_pb (15437 => 15438)
--- freeswitch/trunk/support-d/fscore_pb 2009-11-12 03:38:26 UTC (rev 15437)
+++ freeswitch/trunk/support-d/fscore_pb 2009-11-12 03:46:43 UTC (rev 15438)
@@ -4,10 +4,12 @@
shift
prefix=$(cat config.status | grep @prefix@ | awk -F, '{print $3}')
+if [ -z "$prefix" ] ; then
+ prefix=$(cat config.status | grep '"prefix"' | awk -F\" '{print $4}')
+fi
if [ -z "$prefix" ] ; then
- echo "Cannot determine prefix!"
- exit 255
+ prefix="/usr/local/freeswitch"
fi
if [ "$arg" = "gcore" ] ; then