[Freeswitch-svn] [commit] r6051 - freeswitch/trunk/src/mod
Freeswitch SVN
mikej at freeswitch.org
Thu Oct 25 10:20:16 EDT 2007
Author: mikej
Date: Thu Oct 25 10:20:16 2007
New Revision: 6051
Modified:
freeswitch/trunk/src/mod/Makefile.am
Log:
make modules building handle whitespace after modname in modules.conf 2/2 this time don't break spidermonkey (reported by trixter)
Modified: freeswitch/trunk/src/mod/Makefile.am
==============================================================================
--- freeswitch/trunk/src/mod/Makefile.am (original)
+++ freeswitch/trunk/src/mod/Makefile.am Thu Oct 25 10:20:16 2007
@@ -7,7 +7,7 @@
@set fnord $$MAKEFLAGS; amf=$$2; \
target=`echo $@ | sed -e 's|^.*-||'`; \
modname=`echo $@ | sed -e 's|-.*||'`; \
- confmoddir=`cat $(switch_builddir)/modules.conf | grep $$modname | sed -e 's|#||' | sed -e 's| ||' `; \
+ confmoddir=`cat $(switch_builddir)/modules.conf | sed -e 's| ||' | grep $$modname$$ | sed -e 's|#||' `; \
if test -z "$$confmoddir" ; then moddir=$@ ; else \
if test -d "$(switch_srcdir)/src/mod/$$confmoddir" ; then \
moddir="$(switch_srcdir)/src/mod/$$confmoddir" ; else \
More information about the Freeswitch-svn
mailing list