[64423] trunk/base/src/port1.0/portclean.tcl
snc at macports.org
snc at macports.org
Fri Mar 5 08:17:38 PST 2010
Revision: 64423
http://trac.macports.org/changeset/64423
Author: snc at macports.org
Date: 2010-03-05 08:17:37 -0800 (Fri, 05 Mar 2010)
Log Message:
-----------
missing escape for bracket in regex
Modified Paths:
--------------
trunk/base/src/port1.0/portclean.tcl
Modified: trunk/base/src/port1.0/portclean.tcl
===================================================================
--- trunk/base/src/port1.0/portclean.tcl 2010-03-05 14:39:24 UTC (rev 64422)
+++ trunk/base/src/port1.0/portclean.tcl 2010-03-05 16:17:37 UTC (rev 64423)
@@ -222,7 +222,7 @@
# Define archive destination directory, target filename, regex for archive name
if {$portarchivepath ne $workpath && $portarchivepath ne ""} {
set archivepath [file join $portarchivepath [option os.platform]]
- set regexstring "^$name-\[\\-_a-zA-Z0-9\\.\]+_\[0-9\]*\[+\\-_a-zA-Z0-9\]*\[\\.\].*[\\.\]\[a-z2\]+\$"
+ set regexstring "^$name-\[\\-_a-zA-Z0-9\\.\]+_\[0-9\]*\[+\\-_a-zA-Z0-9\]*\[\\.\].*\[\\.\]\[a-z2\]+\$"
}
if {[info exists ports_version_glob]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100305/14a44b4a/attachment.html>
More information about the macports-changes
mailing list