[asterisk-commits] branch 1.2 r15615 -
/branches/1.2/contrib/init.d/rc.redhat.asterisk
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 28 10:48:19 MST 2006
Author: tilghman
Date: Tue Mar 28 11:48:18 2006
New Revision: 15615
URL: http://svn.digium.com/view/asterisk?rev=15615&view=rev
Log:
Bug 6815 - Adding quotes to make bash happy
Modified:
branches/1.2/contrib/init.d/rc.redhat.asterisk
Modified: branches/1.2/contrib/init.d/rc.redhat.asterisk
URL: http://svn.digium.com/view/asterisk/branches/1.2/contrib/init.d/rc.redhat.asterisk?rev=15615&r1=15614&r2=15615&view=diff
==============================================================================
--- branches/1.2/contrib/init.d/rc.redhat.asterisk (original)
+++ branches/1.2/contrib/init.d/rc.redhat.asterisk Tue Mar 28 11:48:18 2006
@@ -43,7 +43,7 @@
fi
if ! [ -d $AST_CONFIG ] ; then
- echo "ERROR: /etc/asterisk directory not found"
+ echo "ERROR: $AST_CONFIG directory not found"
exit 0
fi
@@ -58,7 +58,7 @@
# Allow configuration overrides in /etc/sysconfig/asterisk
CONFIG0=`readlink $0`
-if [ $CONFIG0 = "" ]; then
+if [ "$CONFIG0" = "" ]; then
CONFIGFILE=/etc/sysconfig/`basename $0`
else
CONFIGFILE=/etc/sysconfig/`basename $CONFIG0`
More information about the asterisk-commits
mailing list