[40565] trunk/dports/x11/xsnow/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 6 19:42:08 PDT 2008


Revision: 40565
          http://trac.macports.org/changeset/40565
Author:   jmr at macports.org
Date:     2008-10-06 19:42:08 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
xsnow: remove use of cd

Modified Paths:
--------------
    trunk/dports/x11/xsnow/Portfile

Modified: trunk/dports/x11/xsnow/Portfile
===================================================================
--- trunk/dports/x11/xsnow/Portfile	2008-10-07 02:31:03 UTC (rev 40564)
+++ trunk/dports/x11/xsnow/Portfile	2008-10-07 02:42:08 UTC (rev 40565)
@@ -20,7 +20,6 @@
 destroot.target	install install.man
 
 post-configure {
-	cd ${worksrcpath}
-	system "mv Makefile Makefile~"
-	system "sed -e 's: BINDIR .*:BINDIR=${prefix}/bin:' -e 's: MANDIR .*:MANDIR=${prefix}/share/man/man6:' -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile"
+	system "cd ${worksrcpath} && mv Makefile Makefile~"
+	system "cd ${worksrcpath} && sed -e 's: BINDIR .*:BINDIR=${prefix}/bin:' -e 's: MANDIR .*:MANDIR=${prefix}/share/man/man6:' -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/96e03174/attachment.html 


More information about the macports-changes mailing list