[70940] trunk/dports/devel/perforce/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 26 20:36:24 PDT 2010


Revision: 70940
          http://trac.macports.org/changeset/70940
Author:   ryandesign at macports.org
Date:     2010-08-26 20:36:22 -0700 (Thu, 26 Aug 2010)
Log Message:
-----------
perforce: don't need to use "system" to extract

Modified Paths:
--------------
    trunk/dports/devel/perforce/Portfile

Modified: trunk/dports/devel/perforce/Portfile
===================================================================
--- trunk/dports/devel/perforce/Portfile	2010-08-27 03:26:07 UTC (rev 70939)
+++ trunk/dports/devel/perforce/Portfile	2010-08-27 03:36:22 UTC (rev 70940)
@@ -36,9 +36,9 @@
                                 sha1    0383e5eb515ff1a4ecd6fb148aa544a49e68eb59 \
                                 rmd160  913efbe9b299030a143e3c6a1fbf672ec526d7b7
 
+extract.mkdir           yes
 extract {
-    system "mkdir -p ${worksrcpath}"
-    system "cp ${distpath}/* ${worksrcpath}/"
+    eval copy [glob ${distpath}/*] ${worksrcpath}
 }
 
 use_configure           no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100826/bf0fc8e6/attachment.html>


More information about the macports-changes mailing list