Ticket #33932: portlint.tcl.diff

File portlint.tcl.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)
  • portlint.tcl

     
    624624    catch {set svn_cmd [findBinary svn]}
    625625    if {$svn_cmd != "" && ([file exists $portpath/.svn] || ![catch {exec $svn_cmd info $portpath > /dev/null 2>@1}])} {
    626626        ui_debug "Checking svn properties"
    627         if [catch {exec $svn_cmd propget svn:keywords $portfile 2>@1} output] {
     627        if [catch {exec $svn_cmd propget svn:keywords $portfile 2>/dev/null} output] {
    628628            ui_warn "Unable to check for svn:keywords property: $output"
    629629        } else {
    630630            ui_debug "Property svn:keywords is \"$output\", should be \"Id\""
     
    633633                incr errors
    634634            }
    635635        }
    636         if [catch {exec $svn_cmd propget svn:eol-style $portfile 2>@1} output] {
     636        if [catch {exec $svn_cmd propget svn:eol-style $portfile 2>/dev/null} output] {
    637637            ui_warn "Unable to check for svn:eol-style property: $output"
    638638        } else {
    639639            ui_debug "Property svn:eol-style is \"$output\", should be \"native\""