New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79899


Ignore:
Timestamp:
06/28/11 22:57:33 (4 years ago)
Author:
jmr@…
Message:

mpab: have to use PIPESTATUS to get port's exit status instead of tee's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/mpab/chroot-scripts/buildports

    r79883 r79899  
    110110      if [[ -z $skipPort ]]; then 
    111111         ${PREFIX}/bin/port -dv install $portName | tee ${PORTRESULTSDIR}/${portName}.log 2>&1 
    112          if [[ $? == 0 ]]; then 
     112         if [[ ${PIPESTATUS[0]} == 0 ]]; then 
    113113            /bin/mv ${PORTRESULTSDIR}/${portName}.log ${PORTRESULTSDIR}/success 
    114114            echo "success" 
Note: See TracChangeset for help on using the changeset viewer.