[csw-devel] SF.net SVN: gar:[11560] csw/mgar/pkg/apache2/trunk/files/conf_build_scripts

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Nov 11 04:05:06 CET 2010


Revision: 11560
          http://gar.svn.sourceforge.net/gar/?rev=11560&view=rev
Author:   bdwalton
Date:     2010-11-11 03:05:05 +0000 (Thu, 11 Nov 2010)

Log Message:
-----------
apache2: more tweaking of the conf builder script

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/files/conf_build_scripts

Modified: csw/mgar/pkg/apache2/trunk/files/conf_build_scripts
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/conf_build_scripts	2010-11-11 02:39:32 UTC (rev 11559)
+++ csw/mgar/pkg/apache2/trunk/files/conf_build_scripts	2010-11-11 03:05:05 UTC (rev 11560)
@@ -7,7 +7,7 @@
 
 cd $ROOT/$AP2_CONF;
 
-for f in $(find . -name '*conf'); do
+for f in $(find . -type f | grep -v original/ ); do
     echo "...processing $f"
 
     cat <<EOF > $f.new
@@ -18,6 +18,8 @@
 if [ "\$1" = install ]; then
   cat <<EOS > \$AP2_CONF/$f.CSW
 EOF
+
+perl -pi -e 's/\$/\\\$/g' $f
 cat $f >> $f.new
 
 cat <<EOF >> $f.new


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