summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-04-04 04:03:44 +0200
committerAaron Griffin <aaron@archlinux.org>2007-04-04 04:03:44 +0200
commitec689b5978cc28b40f63eaa6700afd31b020ee6c (patch)
tree5e2a86c7dc8dd188e1390d8c583117caf0e7f6fd /scripts
parentd2c6bcdbbd06bb35d490b22bc9fa1426fdea00bf (diff)
downloadpacman-ec689b5978cc28b40f63eaa6700afd31b020ee6c.tar.gz
pacman-ec689b5978cc28b40f63eaa6700afd31b020ee6c.tar.xz
* Tom Killian <tom@archlinux.org>
Properly align checksums on makepkg -g
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg6
1 files changed, 5 insertions, 1 deletions
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))