[149593] trunk/dports/devel/git/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Mon Jun 27 13:33:10 PDT 2016


Revision: 149593
          https://trac.macports.org/changeset/149593
Author:   ciserlohn at 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
+            }
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160627/61a3c1ce/attachment.html>


More information about the macports-changes mailing list