Revision: 149593 https://trac.macports.org/changeset/149593 Author: ciserlohn@macports.org Date: 2016-06-27 13:33:09 -0700 (Mon, 27 Jun 2016) Log Message: ----------- git: fix permissions on documentations files (closes #45876) Modified Paths: -------------- trunk/dports/devel/git/Portfile Modified: trunk/dports/devel/git/Portfile =================================================================== --- trunk/dports/devel/git/Portfile 2016-06-27 20:27:52 UTC (rev 149592) +++ trunk/dports/devel/git/Portfile 2016-06-27 20:33:09 UTC (rev 149593) @@ -176,7 +176,11 @@ } fs-traverse f [list ${docdestroot}/howto ${docdestroot}/technical ${docdestroot}/RelNotes] { - file attribute ${f} -permissions ugo+r + if [file isdirectory ${f}] { + file attribute ${f} -permissions ugo+rx + } else { + file attribute ${f} -permissions ugo+r + } } } }