mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2498 from jcftang/devel
Fix reinplace in macports package to work on both 10.7 and 10.8
This commit is contained in:
commit
28570f922e
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ depends_lib-append port:py${python.version}-jinja2 \
|
||||||
patch {
|
patch {
|
||||||
fs-traverse f ${worksrcpath} {
|
fs-traverse f ${worksrcpath} {
|
||||||
if {[file isfile ${f}]} {
|
if {[file isfile ${f}]} {
|
||||||
reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
|
reinplace -locale C "s#/etc/ansible#${prefix}/etc/ansible#g" ${f}
|
||||||
reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
|
reinplace -locale C "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue