[88853] trunk/dports/java/apache-solr/Portfile
hum at macports.org
hum at macports.org
Fri Jan 13 05:37:13 PST 2012
Revision: 88853
http://trac.macports.org/changeset/88853
Author: hum at macports.org
Date: 2012-01-13 05:37:10 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
apache-solr: correct escape notation in regex of reinplace.
Modified Paths:
--------------
trunk/dports/java/apache-solr/Portfile
Modified: trunk/dports/java/apache-solr/Portfile
===================================================================
--- trunk/dports/java/apache-solr/Portfile 2012-01-13 13:24:21 UTC (rev 88852)
+++ trunk/dports/java/apache-solr/Portfile 2012-01-13 13:37:10 UTC (rev 88853)
@@ -28,7 +28,7 @@
post-patch {
# expand relative pathes into abusolute ones.
- reinplace "s|\"\.\./\.\./|\"${solr_destpath}/|g" \
+ reinplace "s|\"\\.\\./\\.\\./|\"${solr_destpath}/|g" \
${worksrcpath}/example/solr/conf/solrconfig.xml
}
@@ -63,7 +63,7 @@
patchfiles-append patch-solr-ja.diff
post-patch {
# expand relative pathes into abusolute ones.
- reinplace "s|\"\.\./\.\./|\"${solr_destpath}/|g" \
+ reinplace "s|\"\\.\\./\\.\\./|\"${solr_destpath}/|g" \
${worksrcpath}/example/solr-ja/conf/solrconfig.xml
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120113/e375d6b6/attachment-0001.html>
More information about the macports-changes
mailing list