[113165] trunk/dports/sysutils/rx/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Nov 11 01:18:51 PST 2013


Revision: 113165
          https://trac.macports.org/changeset/113165
Author:   ryandesign at macports.org
Date:     2013-11-11 01:18:51 -0800 (Mon, 11 Nov 2013)
Log Message:
-----------
rx: use "file attributes" to set permissions instead of shelling out to chmod

Modified Paths:
--------------
    trunk/dports/sysutils/rx/Portfile

Modified: trunk/dports/sysutils/rx/Portfile
===================================================================
--- trunk/dports/sysutils/rx/Portfile	2013-11-11 09:15:41 UTC (rev 113164)
+++ trunk/dports/sysutils/rx/Portfile	2013-11-11 09:18:51 UTC (rev 113165)
@@ -21,7 +21,7 @@
 
 destroot.destdir    prefix=${destroot}${prefix}
 post-destroot       {
-	system "chmod 644 ${destroot}${prefix}/include/rxposix.h"
+    file attributes ${destroot}${prefix}/include/rxposix.h -permissions 0644
 }
 
 livecheck.type       none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131111/6252340a/attachment.html>


More information about the macports-changes mailing list