[csw-devel] SF.net SVN: gar:[14401] csw/mgar/gar/v2/bin/ap2mod_build_scripts
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Mon Apr 25 19:24:44 CEST 2011
Revision: 14401
http://gar.svn.sourceforge.net/gar/?rev=14401&view=rev
Author: bdwalton
Date: 2011-04-25 17:24:44 +0000 (Mon, 25 Apr 2011)
Log Message:
-----------
tweak apache2 build script helper to work with modules not following the apache file naming convention
Modified Paths:
--------------
csw/mgar/gar/v2/bin/ap2mod_build_scripts
Modified: csw/mgar/gar/v2/bin/ap2mod_build_scripts
===================================================================
--- csw/mgar/gar/v2/bin/ap2mod_build_scripts 2011-04-25 15:58:41 UTC (rev 14400)
+++ csw/mgar/gar/v2/bin/ap2mod_build_scripts 2011-04-25 17:24:44 UTC (rev 14401)
@@ -10,7 +10,7 @@
for a in $*; do
for f in $(find . -name "*$a*"); do
modfile=$(basename $f)
- modname=$(echo $modfile | sed 's/mod_//; s/\.so$//')
+ modname=$(echo $modfile | sed 's/^mod_//; s/^lib//; s/\.so$//')
ap2modfile=$AP2MODS/$modname
cat <<EOF > $ap2modfile
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list