[asterisk-commits] trunk r15616 - in /trunk: ./ contrib/init.d/rc.redhat.asterisk

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 10:49:40 MST 2006


Author: tilghman
Date: Tue Mar 28 11:49:39 2006
New Revision: 15616

URL: http://svn.digium.com/view/asterisk?rev=15616&view=rev
Log:
Merged revisions 15615 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines

Bug 6815 - Adding quotes to make bash happy

........

Modified:
    trunk/   (props changed)
    trunk/contrib/init.d/rc.redhat.asterisk

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/contrib/init.d/rc.redhat.asterisk
URL: http://svn.digium.com/view/asterisk/trunk/contrib/init.d/rc.redhat.asterisk?rev=15616&r1=15615&r2=15616&view=diff
==============================================================================
--- trunk/contrib/init.d/rc.redhat.asterisk (original)
+++ trunk/contrib/init.d/rc.redhat.asterisk Tue Mar 28 11:49:39 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