[29111] trunk/dports/sysutils/yum-arch/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 15 00:33:16 PDT 2007


Revision: 29111
          http://trac.macosforge.org/projects/macports/changeset/29111
Author:   afb at macports.org
Date:     2007-09-15 00:33:14 -0700 (Sat, 15 Sep 2007)

Log Message:
-----------
remove the evil cd

Modified Paths:
--------------
    trunk/dports/sysutils/yum-arch/Portfile

Modified: trunk/dports/sysutils/yum-arch/Portfile
===================================================================
--- trunk/dports/sysutils/yum-arch/Portfile	2007-09-15 07:10:27 UTC (rev 29110)
+++ trunk/dports/sysutils/yum-arch/Portfile	2007-09-15 07:33:14 UTC (rev 29111)
@@ -34,8 +34,7 @@
 		# problem with case-insensitive filesystem:
 		file delete ${workpath}/${distname}/INSTALL
 		
-		cd $worksrcpath
-		foreach source [glob *.py repomd/*.py rpmUtils/*.py yum/*.py] {
+		foreach source [glob $worksrcpath/*.py $worksrcpath/repomd/*.py $worksrcpath/rpmUtils/*.py $worksrcpath/yum/*.py] {
 			reinplace "/^#!\\/usr/d" ${source}
 		}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070915/34c941fc/attachment.html


More information about the macports-changes mailing list