]> git.ozlabs.org Git - next-scripts/commitdiff
make_tree_file: make the columns line up
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Nov 2021 03:34:15 +0000 (14:34 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Nov 2021 03:34:15 +0000 (14:34 +1100)
make_tree_file

index fbb1530b6fbd74910cc06c60ae978cba8887203f..75614f6bb80595c39b1944d1ca14e4f84f2985f0 100755 (executable)
@@ -32,7 +32,7 @@ mkdir Next
                while read email type name url ref build; do
                        [ "$type" = "branch" ] && continue
                        tab="\t"
-                       [ ${#name} -le 8 ] && tab="\t\t"
+                       [ ${#name} -lt 8 ] && tab="\t\t"
                        [ "$type" = "git" ] && url="$url#${ref##*:}"
                        printf "%s$tab%s\t%s\n" $name $type $url
                done