Browse code

Merge "fix tee errors"

Jenkins authored on 2013/09/27 03:04:38
Showing 1 changed files
... ...
@@ -518,7 +518,7 @@ if [[ -n "$LOGFILE" ]]; then
518 518
         # Set fd 1 and 2 to primary logfile
519 519
         exec 1> "${LOGFILE}" 2>&1
520 520
         # Set fd 6 to summary logfile and stdout
521
-        exec 6> >( tee "${SUMFILE}" /dev/fd/3 )
521
+        exec 6> >( tee "${SUMFILE}" >&3 )
522 522
     fi
523 523
 
524 524
     echo_summary "stack.sh log $LOGFILE"