bkruse: branch 2.0 r3705 - /branches/2.0/Makefile

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Aug 25 12:15:26 CDT 2008


Author: bkruse
Date: Mon Aug 25 12:15:25 2008
New Revision: 3705

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3705
Log:
Fix bug on mailing list about a space in the
output URL, which would happen if you had something
like:

bindport = 8080 instead of bindport=8080

Modified:
    branches/2.0/Makefile

Modified: branches/2.0/Makefile
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/Makefile?view=diff&rev=3705&r1=3704&r2=3705
==============================================================================
--- branches/2.0/Makefile (original)
+++ branches/2.0/Makefile Mon Aug 25 12:15:25 2008
@@ -86,7 +86,7 @@
 
 
 HTTPHOST?=$(shell hostname)
-HTTPBINDPORT?=$(shell cat $(ASTETCDIR)/http.conf  2>/dev/null | grep -v ^\; | grep bindport | cut -f 2 -d '=')
+HTTPBINDPORT?=$(shell cat $(ASTETCDIR)/http.conf  2>/dev/null | grep -v ^\; | grep bindport | cut -f 2 -d '=' | sed 's/ //g')
 ifeq ($(HTTPBINDPORT),)
   HTTPBINDPORT:=8088
 endif




More information about the asterisk-gui-commits mailing list