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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Dec 6 04:27:58 CET 2010


Revision: 11803
          http://gar.svn.sourceforge.net/gar/?rev=11803&view=rev
Author:   bdwalton
Date:     2010-12-06 03:27:58 +0000 (Mon, 06 Dec 2010)

Log Message:
-----------
apache2: use standard s/// instead of s### with less readable \/ in config migration perl scripting

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

Modified: csw/mgar/pkg/apache2/trunk/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-12-06 03:15:58 UTC (rev 11802)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-12-06 03:27:58 UTC (rev 11803)
@@ -28,11 +28,11 @@
       # update various uses of the var/ paths.
       # ensure we use the config files from the new location 
       perl -pi \
-         -e "s#/opt/csw/apache2/etc/server.crt#/etc/opt/csw/apache2/server.crt#" \
-         -e "s#/opt/csw/apache2/etc/server.key#/etc/opt/csw/apache2/server.key#" \
-         -e "s#/opt/csw/apache2/var/log/#/var/opt/csw/log/apache2/#" \ 
-         -e "s#\"/opt/csw/apache2/var/#\"/var/opt/csw/apache2/#" \
-         -e "s#\"var/log/#\"/var/opt/csw/log/apache2/#" \
+         -e "s/\/opt\/csw\/apache2\/etc\/server.crt/\/etc\/opt\/csw\/apache2\/server.crt/" \
+         -e "s/\/opt\/csw\/apache2\/etc\/server.key/\/etc\/opt\/csw\/apache2\/server.key/" \
+         -e "s/\/opt\/csw\/apache2\/var\/log\//\/var\/opt\/csw\/log\/apache2\//" \ 
+         -e "s/\"\/opt\/csw\/apache2\/var\//\"\/var\/opt\/csw\/apache2\//" \
+         -e "s/\"var\/log\//\"\/var\/opt\/csw\/log\/apache2\//" \
          -e "s/etc\//\/etc\/opt\/csw\/apache2\//" \
          \$NEW_CONF_FILE
    else


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