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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Dec 9 02:48:16 CET 2010


Revision: 11857
          http://gar.svn.sourceforge.net/gar/?rev=11857&view=rev
Author:   bdwalton
Date:     2010-12-09 01:48:16 +0000 (Thu, 09 Dec 2010)

Log Message:
-----------
apache2: join continued lines to avoid here doc line split issue

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-09 01:34:48 UTC (rev 11856)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-12-09 01:48:16 UTC (rev 11857)
@@ -27,14 +27,7 @@
       # handle the new path to default ssl key files.
       # 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/etc\//\/etc\/opt\/csw\/apache2\//;" \
-         \$NEW_CONF_FILE
+      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/etc\//\/etc\/opt\/csw\/apache2\//;" \$NEW_CONF_FILE
    else
       # so, we're not an existing or 'needs migration' install, we must
       # install from the templates.


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