45 | | if {![catch {set svnChannel [open "|svn info ${filepath}" r]} err]} { |
| 45 | if {![info exists svnCmd]} { |
| 46 | set svnCmd "" |
| 47 | foreach path [concat [list ${prefix}/bin] [split $env(PATH) :]] { |
| 48 | if {[file executable ${path}/svn]} { |
| 49 | set svnCmd ${path}/svn |
| 50 | break |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 | if {$svnCmd == ""} { |
| 55 | puts "WARNING: Unable to check svn URL for '$filepath' because no svn command could be found; please manually verify $sourcesConf!" |
| 56 | continue |
| 57 | } |
| 58 | if {![catch {set svnChannel [open "|$svnCmd info ${filepath}" r]} err]} { |