summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEmmanuel Bourg <ebourg@apache.org>2015-09-25 17:43:09 +0200
committerEmmanuel Bourg <ebourg@apache.org>2015-09-25 17:43:09 +0200
commitb5b8cfafdf9d2743d9ee29b5fab49206d2c3155f (patch)
treef07644ea631b27f5d547d923742f5a67cd534129 /scripts
parent1b427e72e04f473cc4c21e43d023cd40242d9561 (diff)
downloadjava-common-b5b8cfafdf9d2743d9ee29b5fab49206d2c3155f.tar.gz
Vertical alignment for update-java-alternatives --list
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-java-alternatives2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives
index 6dbc92b..9eea19c 100755
--- a/scripts/update-java-alternatives
+++ b/scripts/update-java-alternatives
@@ -123,7 +123,7 @@ do_list()
alias=$(basename ${i%.jinfo})
alias=${alias#.}
prio=$(awk -F= '/priority=/ {print $2}' $i)
- echo $alias $prio $top/$alias
+ printf "%-30s %-10s %s\n" $alias "$prio " $top/$alias
[ -n "$verbose" ] && egrep "$which" $i
done
}