[114981] trunk/dports/devel/git-core/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Fri Dec 20 01:46:18 PST 2013
Revision: 114981
https://trac.macports.org/changeset/114981
Author: ciserlohn at macports.org
Date: 2013-12-20 01:46:18 -0800 (Fri, 20 Dec 2013)
Log Message:
-----------
git-core: use fs-traverse instead exec (closes #26402)
Modified Paths:
--------------
trunk/dports/devel/git-core/Portfile
Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile 2013-12-20 07:21:18 UTC (rev 114980)
+++ trunk/dports/devel/git-core/Portfile 2013-12-20 09:46:18 UTC (rev 114981)
@@ -91,9 +91,11 @@
}
xinstall -d ${docdestroot}
- foreach badfile [exec find ${destroot} -name perllocal.pod] {
- ui_info "Removing ${badfile}"
- file delete ${badfile}
+ fs-traverse badfile ${destroot} {
+ if {[string last perllocal.pod ${badfile}] != -1} {
+ ui_info "Removing ${badfile}"
+ file delete ${badfile}
+ }
}
set completions_path ${destroot}${prefix}/share/bash-completion/completions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131220/7be481fe/attachment.html>
More information about the macports-changes
mailing list