diff options
-rwxr-xr-x | round-robin-notify.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin-notify.sh b/round-robin-notify.sh index 12286779..1ac1996b 100755 --- a/round-robin-notify.sh +++ b/round-robin-notify.sh @@ -783,7 +783,8 @@ gnu_print_result() echo echo "$outfile:" # Copy contents until "Results Summary" line (excluded) - n_lines=$(grep -n "Results Summary" $top_artifacts/notify/$outfile | cut -d: f1) + n_lines=$(grep -n "Results Summary" $top_artifacts/notify/$outfile \ + | cut -d: -f1) n_lines=$(($n_lines - 1)) if [ $n_lines -lt $length ]; then |