From: Stephen Rothwell Date: Wed, 4 Dec 2019 20:47:14 +0000 (+1100) Subject: check_left: skip the "branch" tree X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=53b2cfd4081729a70705c19e4c9723dab415f1b7;p=next-scripts check_left: skip the "branch" tree --- diff --git a/check_left b/check_left index 079d699..20601c8 100755 --- a/check_left +++ b/check_left @@ -4,7 +4,7 @@ LOG_FILE="../left_over.log" cp /dev/null "$LOG_FILE" -heads=$(awk -F '\t' '/^#/ {next;} { printf("%s/%s ", $3, $5); }' ../etc/control) +heads=$(awk -F '\t' '/^#/ {next;} $2=="branch" {next;} { printf("%s/%s ", $3, $5); }' ../etc/control) prev_heads="" total=0