From ec689b5978cc28b40f63eaa6700afd31b020ee6c Mon Sep 17 00:00:00 2001
From: Aaron Griffin <aaron@archlinux.org>
Date: Wed, 4 Apr 2007 02:03:44 +0000
Subject: * Tom Killian <tom@archlinux.org> Properly align checksums on makepkg
 -g

---
 scripts/makepkg | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'scripts/makepkg')

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-24-g4f1b