[36774] trunk/base/src/package1.0/portarchive.tcl
afb at macports.org
afb at macports.org
Wed May 14 04:57:46 PDT 2008
Revision: 36774
http://trac.macosforge.org/projects/macports/changeset/36774
Author: afb at macports.org
Date: 2008-05-14 04:57:44 -0700 (Wed, 14 May 2008)
Log Message:
-----------
create destroot for archive +JUNK, even if there are no files
Modified Paths:
--------------
trunk/base/src/package1.0/portarchive.tcl
Modified: trunk/base/src/package1.0/portarchive.tcl
===================================================================
--- trunk/base/src/package1.0/portarchive.tcl 2008-05-14 11:49:20 UTC (rev 36773)
+++ trunk/base/src/package1.0/portarchive.tcl 2008-05-14 11:57:44 UTC (rev 36774)
@@ -247,6 +247,11 @@
system "mkdir -p ${archive.fulldestpath}"
}
+ # Create (if no files) destroot for archiving
+ if {![file isdirectory ${destpath}]} {
+ system "mkdir -p ${destpath}"
+ }
+
# Copy state file into destroot for archiving
# +STATE contains a copy of the MacPorts state information
set statefile [file join $workpath .macports.${portname}.state]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080514/43615d67/attachment.html
More information about the macports-changes
mailing list