diff options
Diffstat (limited to 'unix/mkLinks.tcl')
-rw-r--r-- | unix/mkLinks.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mkLinks.tcl b/unix/mkLinks.tcl index f9afcb2..22f54f3 100644 --- a/unix/mkLinks.tcl +++ b/unix/mkLinks.tcl @@ -52,7 +52,7 @@ foreach file $argv { regsub {\\-.*} $line {} line foreach name [split $line ,] { regsub -all { } $name "" name - if {[string compare $tail $name$ext] != 0} { + if {![string match $name*$ext $tail]} { puts "if test -r $tail; then" puts " rm -f $name$ext" puts " ln $tail $name$ext" |