[pacman-dev] CVS update of pacman-lib/scripts (makepkg)
Aaron Griffin
aaron at archlinux.org
Tue Apr 3 22:03:45 EDT 2007
Date: Tuesday, April 3, 2007 @ 22:03:45
Author: aaron
Path: /home/cvs-pacman/pacman-lib/scripts
Modified: makepkg (1.66 -> 1.67)
* Tom Killian <tom at archlinux.org>
Properly align checksums on makepkg -g
---------+
makepkg | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: pacman-lib/scripts/makepkg
diff -u pacman-lib/scripts/makepkg:1.66 pacman-lib/scripts/makepkg:1.67
--- pacman-lib/scripts/makepkg:1.66 Thu Mar 29 23:24:09 2007
+++ pacman-lib/scripts/makepkg Tue Apr 3 22:03:44 2007
@@ -746,7 +746,11 @@
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))
More information about the pacman-dev
mailing list