[30462] trunk/dports/net/fetch/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 28 12:05:39 PDT 2007


Revision: 30462
          http://trac.macosforge.org/projects/macports/changeset/30462
Author:   afb at macports.org
Date:     2007-10-28 12:05:39 -0700 (Sun, 28 Oct 2007)

Log Message:
-----------
avoid using cd command

Modified Paths:
--------------
    trunk/dports/net/fetch/Portfile

Modified: trunk/dports/net/fetch/Portfile
===================================================================
--- trunk/dports/net/fetch/Portfile	2007-10-28 15:25:26 UTC (rev 30461)
+++ trunk/dports/net/fetch/Portfile	2007-10-28 19:05:39 UTC (rev 30462)
@@ -20,9 +20,9 @@
 build.type	bsd
 build.args	CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib
 
-destroot	{ cd ${workpath}/${worksrcdir}
-		xinstall -m 755 fetch ${destroot}${prefix}/bin
-		xinstall -m 644 -c fetch.1 ${destroot}${prefix}/share/man/man1 }
+destroot	{
+		xinstall -m 755 ${workpath}/${worksrcdir}/fetch ${destroot}${prefix}/bin
+		xinstall -m 644 -c ${workpath}/${worksrcdir}/fetch.1 ${destroot}${prefix}/share/man/man1 }
 
 platform darwin {
 	patchfiles	patch-Makefile patch-fetch.c

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071028/5e9efcf8/attachment.html


More information about the macports-changes mailing list