[48508] trunk/base/src/port1.0/portclean.tcl
raimue at macports.org
raimue at macports.org
Mon Mar 23 20:30:56 PDT 2009
Revision: 48508
http://trac.macports.org/changeset/48508
Author: raimue at macports.org
Date: 2009-03-23 20:30:55 -0700 (Mon, 23 Mar 2009)
Log Message:
-----------
port1.0/portclean.tcl:
port clean does not require to match the previous selected variants in the
statefile, addition to r48483 and see #18270.
Modified Paths:
--------------
trunk/base/src/port1.0/portclean.tcl
Modified: trunk/base/src/port1.0/portclean.tcl
===================================================================
--- trunk/base/src/port1.0/portclean.tcl 2009-03-24 02:55:58 UTC (rev 48507)
+++ trunk/base/src/port1.0/portclean.tcl 2009-03-24 03:30:55 UTC (rev 48508)
@@ -39,6 +39,7 @@
set org.macports.clean [target_new org.macports.clean clean_main]
target_runtype ${org.macports.clean} always
+target_state ${org.macports.clean} no
target_provides ${org.macports.clean} clean
target_requires ${org.macports.clean} main
target_prerun ${org.macports.clean} clean_start
@@ -75,7 +76,7 @@
}
# start gsoc-08 privileges
- if {$usealtworkpath == "yes"} {
+ if {[info exists usealtworkpath] && $usealtworkpath == "yes"} {
ui_info "$UI_PREFIX [format [msgcat::mc "Removing alt source directory for %s"] [option portname]]"
clean_altsource
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090323/551ee840/attachment.html>
More information about the macports-changes
mailing list