View | Details | Raw Unified | Return to bug 30471 | Differences between
and this patch

Collapse All | Expand All

(-)periodic.sh (-1 / +5 lines)
Lines 38-44 Link Here
38
    # Where's our output going ?
38
    # Where's our output going ?
39
    eval output=\$${arg##*/}_output
39
    eval output=\$${arg##*/}_output
40
    case "$output" in
40
    case "$output" in
41
    /*) pipe="cat >>$output";;
41
    /*) 
42
	case $(eval echo "\$${arg##*/}_output_clobber") in
43
	    [Yy][Ee][Ss]) pipe="cat > $output";;
44
	    *)            pipe="cat >>$output";;
45
	esac;;
42
    "") pipe=cat;;
46
    "") pipe=cat;;
43
    *)  pipe="mail -s '$host ${arg##*/} run output' $output";;
47
    *)  pipe="mail -s '$host ${arg##*/} run output' $output";;
44
    esac
48
    esac

Return to bug 30471