[53919] trunk/dports/emulators/qemu-usermode/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 16 10:51:29 PDT 2009


Revision: 53919
          http://trac.macports.org/changeset/53919
Author:   jmr at macports.org
Date:     2009-07-16 10:51:28 -0700 (Thu, 16 Jul 2009)
Log Message:
-----------
qemu-usermode: remove use of cd (#12914)

Modified Paths:
--------------
    trunk/dports/emulators/qemu-usermode/Portfile

Modified: trunk/dports/emulators/qemu-usermode/Portfile
===================================================================
--- trunk/dports/emulators/qemu-usermode/Portfile	2009-07-16 17:48:11 UTC (rev 53918)
+++ trunk/dports/emulators/qemu-usermode/Portfile	2009-07-16 17:51:28 UTC (rev 53919)
@@ -36,8 +36,8 @@
 }
 
 post-destroot {
-	cd ${destroot}${prefix}/lib/${name}/share
-	file delete -force doc man
+	file delete -force ${destroot}${prefix}/lib/${name}/share/doc \
+	                   ${destroot}${prefix}/lib/${name}/share/man
 	system "cd ${destroot}${prefix}/bin && \
 		ln -sf ${nprefix}/bin/qemu-i386 && \
 		ln -sf ${nprefix}/bin/qemu-ppc"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090716/b1aea93a/attachment.html>


More information about the macports-changes mailing list