summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 3497d16b..8f4103e5 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -20,7 +20,7 @@
# USA.
#
-myver='2.8.3'
+myver='2.8.4'
startdir=`pwd`
PKGDEST=$startdir
USE_COLOR="n"
@@ -611,7 +611,7 @@ if [ "$PACKAGER" != "" ]; then
else
packager="Arch Linux (http://www.archlinux.org)"
fi
-size=`du -cb $startdir/pkg | tail -1 | awk '{print $1}'`
+size=`du -cb $startdir/pkg | tail -n 1 | awk '{print $1}'`
# write the .PKGINFO file
msg "Generating .PKGINFO file..."