make.sh: Improve formatting of options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-11-28 17:36:07 +00:00
parent 405ee2b400
commit fa8c758efe

View File

@@ -322,12 +322,7 @@ print_package() {
fi
printf "%-$(( ${NAME_WIDTH} - 1 ))s " "${string}"
if [ -n "${options}" ]; then
printf "[ %-$(( ${OPTIONS_WIDTH} - 4 ))s ]" "${options}"
else
printf "%${OPTIONS_WIDTH}s" ""
fi
printf "%$(( ${OPTIONS_WIDTH} - 1 ))s " "${options}"
}
print_runtime() {