[Freeswitch-svn] [commit] r8025 - freeswitch/trunk/src/mod
Freeswitch SVN
mikej at freeswitch.org
Fri Apr 4 16:09:22 EDT 2008
Author: mikej
Date: Fri Apr 4 16:09:22 2008
New Revision: 8025
Modified:
freeswitch/trunk/src/mod/Makefile.am
Log:
use more correct head arguments
Modified: freeswitch/trunk/src/mod/Makefile.am
==============================================================================
--- freeswitch/trunk/src/mod/Makefile.am (original)
+++ freeswitch/trunk/src/mod/Makefile.am Fri Apr 4 16:09:22 2008
@@ -7,7 +7,7 @@
@set fnord $$MAKEFLAGS; amf=$$2; \
target=`echo $@ | sed -e 's|^.*-||'`; \
modname=`echo $@ | sed -e 's|-.*||' | sed -e 's|^.*/||'`; \
- confmoddir=`cat $(switch_builddir)/modules.conf | sed -e 's| ||' | grep $$modname$$ | sed -e 's|#||' | head -1`; \
+ confmoddir=`cat $(switch_builddir)/modules.conf | sed -e 's| ||' | grep $$modname$$ | sed -e 's|#||' | head -n 1`; \
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