[93797] trunk/dports/archivers/pbzip2/Portfile

ram at macports.org ram at macports.org
Thu May 31 07:15:51 PDT 2012


Revision: 93797
          https://trac.macports.org/changeset/93797
Author:   ram at macports.org
Date:     2012-05-31 07:15:50 -0700 (Thu, 31 May 2012)
Log Message:
-----------
archivers/pbzip2: don't use system call

Modified Paths:
--------------
    trunk/dports/archivers/pbzip2/Portfile

Modified: trunk/dports/archivers/pbzip2/Portfile
===================================================================
--- trunk/dports/archivers/pbzip2/Portfile	2012-05-31 13:40:42 UTC (rev 93796)
+++ trunk/dports/archivers/pbzip2/Portfile	2012-05-31 14:15:50 UTC (rev 93797)
@@ -35,7 +35,8 @@
 post-destroot {
   delete ${destroot}${prefix}/bin/pbunzip2
   delete ${destroot}${prefix}/bin/pbzcat
-  system "cd ${destroot}${prefix}/bin && ln -s pbzip2 pbunzip2 && ln -s pbzip2 pbzcat"
+  ln -s pbzip2 ${destroot}${prefix}/bin/pbunzip2
+  ln -s pbzip2 ${destroot}${prefix}/bin/pbzcat
   set docdir ${prefix}/share/doc/${name}-${version}
   xinstall -d ${destroot}${docdir}
   xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120531/16efb63b/attachment.html>


More information about the macports-changes mailing list