[75957] trunk/dports/science/arb/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Feb 13 12:01:14 PST 2011


Revision: 75957
          http://trac.macports.org/changeset/75957
Author:   ryandesign at macports.org
Date:     2011-02-13 12:01:13 -0800 (Sun, 13 Feb 2011)
Log Message:
-----------
arb: use "file attributes" instead of "system 'chmod'"; see #28276

Modified Paths:
--------------
    trunk/dports/science/arb/Portfile

Modified: trunk/dports/science/arb/Portfile
===================================================================
--- trunk/dports/science/arb/Portfile	2011-02-13 19:17:25 UTC (rev 75956)
+++ trunk/dports/science/arb/Portfile	2011-02-13 20:01:13 UTC (rev 75957)
@@ -101,9 +101,9 @@
                         file copy ${worksrcpath}/PERL_SCRIPTS ${destroot}${prefix}/share/arb/PERL_SCRIPTS
                         file copy ${worksrcpath}/SH ${destroot}${prefix}/share/arb/SH
                         file copy ${worksrcpath}/demo.arb ${destroot}${prefix}/share/arb
-                        system "chmod a+w ${destroot}${prefix}/share/arb/lib/arb_tcp.dat"
-                        system "chmod a+w ${destroot}${prefix}/share/arb/lib/pts"
-                        system "chmod a+w ${destroot}${prefix}/share/arb/lib/macros"
+                        file attributes ${destroot}${prefix}/share/arb/lib/arb_tcp.dat -permissions a+w
+                        file attributes ${destroot}${prefix}/share/arb/lib/pts -permissions a+w
+                        file attributes ${destroot}${prefix}/share/arb/lib/macros -permissions a+w
                         ln -s ${prefix}/bin/arb_pt_server ${destroot}${prefix}/share/arb/bin/arb_pt_server
                         ln -s ${prefix}/bin/arb_name_server ${destroot}${prefix}/share/arb/bin/arb_name_server
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110213/66d26fb5/attachment.html>


More information about the macports-changes mailing list