pari: branch 2.0 r3754 - /branches/2.0/Makefile

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Sep 4 12:25:07 CDT 2008


Author: pari
Date: Thu Sep  4 12:25:06 2008
New Revision: 3754

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3754
Log:

 adding bkruse's fix in r3726


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=3754&r1=3753&r2=3754
==============================================================================
--- branches/2.0/Makefile (original)
+++ branches/2.0/Makefile Thu Sep  4 12:25:06 2008
@@ -90,13 +90,13 @@
 ifeq ($(HTTPBINDPORT),)
   HTTPBINDPORT:=8088
 endif
-HTTPPREFIXBASE?=$(shell cat $(ASTETCDIR)/http.conf  2>/dev/null | grep -v ^\; | grep prefix )
+HTTPPREFIXBASE?=$(shell cat $(ASTETCDIR)/http.conf  2>/dev/null | grep -v ^\; | grep prefix | sed 's/ //g')
 HTTPPREFIX?=$(shell echo $(HTTPPREFIXBASE) | cut -f 2 -d '=')
 ifeq ($(HTTPPREFIXBASE),)
   HTTPPREFIX:=asterisk
 endif
-HTTPURL:=http://$(HTTPHOST):$(HTTPBINDPORT)$(HTTPPREFIX)/static/config/cfgbasic.html
-HTTPLOCALURL:=http://localhost:$(HTTPBINDPORT)$(HTTPPREFIX)/static/config/cfgbasic.html
+HTTPURL:=http://$(HTTPHOST):$(HTTPBINDPORT)/$(HTTPPREFIX)/static/config/cfgbasic.html
+HTTPLOCALURL:=http://localhost:$(HTTPBINDPORT)/$(HTTPPREFIX)/static/config/cfgbasic.html
 	
 #SUBDIRS:=tools
 SUBDIRS_CLEAN:=$(SUBDIRS:%=%-clean)




More information about the asterisk-gui-commits mailing list