Skip to content

Commit

Permalink
Fix make-index speed-up
Browse files Browse the repository at this point in the history
Need to substitute the index too

Signed-off-by: Steve Bennett <steveb@workware.net.au>
  • Loading branch information
msteveb committed Mar 2, 2012
1 parent 601a820 commit b6c95fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-index
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ lappend mapping @INSERTINDEX@ [join $index \n]

# Output the result
foreach line $lines {
if {[string first ` $line] >= 0} {
if {[string first ` $line] >= 0 || [string first @ $line] >= 0} {
puts [string map $mapping $line]
} else {
puts $line
Expand Down

0 comments on commit b6c95fe

Please sign in to comment.