Commit 28570f92 by Michael DeHaan

Merge pull request #2498 from jcftang/devel

Fix reinplace in macports package to work on both 10.7 and 10.8
parents 3c5890f4 2dce6089
......@@ -38,8 +38,8 @@ depends_lib-append port:py${python.version}-jinja2 \
patch {
fs-traverse f ${worksrcpath} {
if {[file isfile ${f}]} {
reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
reinplace -locale C "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
reinplace -locale C "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment