[32940] trunk/dports/x11/Eterm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 15 03:51:51 PST 2008
Revision: 32940
http://trac.macosforge.org/projects/macports/changeset/32940
Author: ryandesign at macports.org
Date: 2008-01-15 03:51:49 -0800 (Tue, 15 Jan 2008)
Log Message:
-----------
Eterm: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/x11/Eterm/Portfile
Modified: trunk/dports/x11/Eterm/Portfile
===================================================================
--- trunk/dports/x11/Eterm/Portfile 2008-01-15 11:35:36 UTC (rev 32939)
+++ trunk/dports/x11/Eterm/Portfile 2008-01-15 11:51:49 UTC (rev 32940)
@@ -26,9 +26,11 @@
md5 e8c6567b13d7fb760bded56c1d1a181d
post-extract {
- cd ${workpath}
- system "mv -f bg/tile/* ${distname}/bg/tile &&
- mv -f bg/scale/* ${distname}/bg/scale"
+ foreach dir {bg/tile bg/scale} {
+ foreach file [glob -directory ${workpath} ${dir}/*] {
+ move -force ${file} ${worksrcpath}/${dir}
+ }
+ }
}
#patchfiles patch_command.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080115/20f74329/attachment.html
More information about the macports-changes
mailing list