[54739] branches/gsoc09-logging/base/src/port1.0/portutil.tcl
enl at macports.org
enl at macports.org
Sat Aug 1 06:23:38 PDT 2009
Revision: 54739
http://trac.macports.org/changeset/54739
Author: enl at macports.org
Date: 2009-08-01 06:23:37 -0700 (Sat, 01 Aug 2009)
Log Message:
-----------
Added prefix to the logdir
Modified Paths:
--------------
branches/gsoc09-logging/base/src/port1.0/portutil.tcl
Modified: branches/gsoc09-logging/base/src/port1.0/portutil.tcl
===================================================================
--- branches/gsoc09-logging/base/src/port1.0/portutil.tcl 2009-08-01 13:15:09 UTC (rev 54738)
+++ branches/gsoc09-logging/base/src/port1.0/portutil.tcl 2009-08-01 13:23:37 UTC (rev 54739)
@@ -1207,7 +1207,7 @@
set ports_dry_last_skipped ""
proc target_run {ditem} {
- global target_state_fd workpath ports_trace PortInfo ports_dryrun ports_dry_last_skipped current_stage worksrcpath
+ global target_state_fd workpath ports_trace PortInfo ports_dryrun ports_dry_last_skipped current_stage worksrcpath prefix
set portname [option name]
set result 0
set skipped 0
@@ -1369,7 +1369,7 @@
}
if {[exists copy_log_files]} {
set log_files [option copy_log_files]
- set log_dir "/var/macports/logs/$portname"
+ set log_dir "$prefix/var/macports/logs/$portname"
file mkdir $log_dir
foreach log_file $log_files {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090801/cb2a5a90/attachment.html>
More information about the macports-changes
mailing list