Fossil SCM
Update the script used to build the "download.html" page so that it can accommodate longer timestamps.
Commit
4b2ab22c2a9af62b19b831b1614c05e4dbcccb5e
Parent
6f42e76d804fcd4…
1 file changed
+1
-1
+1
-1
| --- www/mkdownload.tcl | ||
| +++ www/mkdownload.tcl | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | |
| 35 | 35 | # Find all all unique timestamps. |
| 36 | 36 | # |
| 37 | 37 | foreach file [glob -nocomplain download/fossil-*.zip] { |
| 38 | 38 | if {[regexp {(\d+).zip$} $file all datetime] |
| 39 | - && [string length $datetime]==14} { | |
| 39 | + && [string length $datetime]>=14} { | |
| 40 | 40 | set adate($datetime) 1 |
| 41 | 41 | } |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | # Do all dates from newest to oldest |
| 45 | 45 |
| --- www/mkdownload.tcl | |
| +++ www/mkdownload.tcl | |
| @@ -34,11 +34,11 @@ | |
| 34 | |
| 35 | # Find all all unique timestamps. |
| 36 | # |
| 37 | foreach file [glob -nocomplain download/fossil-*.zip] { |
| 38 | if {[regexp {(\d+).zip$} $file all datetime] |
| 39 | && [string length $datetime]==14} { |
| 40 | set adate($datetime) 1 |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | # Do all dates from newest to oldest |
| 45 |
| --- www/mkdownload.tcl | |
| +++ www/mkdownload.tcl | |
| @@ -34,11 +34,11 @@ | |
| 34 | |
| 35 | # Find all all unique timestamps. |
| 36 | # |
| 37 | foreach file [glob -nocomplain download/fossil-*.zip] { |
| 38 | if {[regexp {(\d+).zip$} $file all datetime] |
| 39 | && [string length $datetime]>=14} { |
| 40 | set adate($datetime) 1 |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | # Do all dates from newest to oldest |
| 45 |