| | @@ -103,11 +103,17 @@ |
| 103 | 103 | $rstate destroy |
| 104 | 104 | |
| 105 | 105 | # At last copy the temporary repository file to its final |
| 106 | 106 | # destination and release the associated memory. |
| 107 | 107 | |
| 108 | | - $fossil finalize [$project base].fsl |
| 108 | + set destination [$project base] |
| 109 | + if {$destination eq ""} { |
| 110 | + set destination [file tail [repository base?]] |
| 111 | + } |
| 112 | + append destination .fsl |
| 113 | + |
| 114 | + $fossil finalize $destination |
| 109 | 115 | } |
| 110 | 116 | |
| 111 | 117 | # This does not live beyond the pass. We use the state for the |
| 112 | 118 | # data despite its transient nature to keep the memory |
| 113 | 119 | # requirements down. |
| 114 | 120 | |