Ignore:
Timestamp:
Aug 30, 2010, 9:00:58 AM (10 years ago)
Author:
jmr@…
Message:

remove useless uses of cat

Location:
trunk/base/portmgr/packaging
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/portmgr/packaging/packageall.tcl

    r51780 r71035  
    303303        }
    304304        #if {[file readable $logfilename]} {
    305         #       if {[catch {system "cat $logfilename | /usr/sbin/sendmail -t"} error]} {
     305        #       if {[catch {system "<$logfilename /usr/sbin/sendmail -t"} error]} {
    306306        #               puts stderr "Internal error: $error"
    307307        #       }
  • trunk/base/portmgr/packaging/rpmall.tcl

    r68749 r71035  
    365365        }
    366366        #if {[file readable $logfilename]} {
    367         #       if {[catch {system "cat $logfilename | /usr/sbin/sendmail -t"} error]} {
     367        #       if {[catch {system "<$logfilename /usr/sbin/sendmail -t"} error]} {
    368368        #               puts stderr "Internal error: $error"
    369369        #       }
Note: See TracChangeset for help on using the changeset viewer.