diff --git a/src/modules/punk/winlnk-999999.0a1.0.tm b/src/modules/punk/winlnk-999999.0a1.0.tm index d00e606d..77bf7f55 100644 --- a/src/modules/punk/winlnk-999999.0a1.0.tm +++ b/src/modules/punk/winlnk-999999.0a1.0.tm @@ -615,7 +615,7 @@ tcl::namespace::eval punk::winlnk { if {"windows" eq $::tcl_platform(platform)} { set link_target [file join $localbase_path $suffix_path] } else { - if {[regexp {([a-zA-Z]):/(.*)} $localbase_path _match drive_letter tail]} { + if {[regexp {([a-zA-Z]):\\(.*)} $localbase_path _match drive_letter tail]} { set link_target "" #shortcut basepath is a windows path with drive letter - try to resolve it on unix by looking for a corresponding mount from fstab or a point under /mnt set mountinfo [exec mount]