mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
make modules building handle whitespace after modname in modules.conf 2/2 this time don't break spidermonkey (reported by trixter)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6051 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b29b9802d4
commit
f13b77c820
@ -7,7 +7,7 @@ $(OUR_MODULES) $(OUR_CLEAN_MODULES) $(OUR_INSTALL_MODULES) $(OUR_UNINSTALL_MODUL
|
||||
@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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user