From ec689b5978cc28b40f63eaa6700afd31b020ee6c Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 4 Apr 2007 02:03:44 +0000 Subject: * Tom Killian Properly align checksums on makepkg -g --- scripts/makepkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg b/scripts/makepkg index 92d8ab26..ffd34d48 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -746,7 +746,11 @@ else if [ $ct -eq 0 ]; then echo -n "${integrity_name}s=(" else - echo -ne "\t " + indent=0 + while [ $indent -lt $((${#integrity_name}+3)) ]; do + echo -n " " + indent=$(($indent+1)) + done fi echo -n "'$sum'" ct=$(($ct+1)) -- cgit v1.2.3-70-g09d2