31 May
2008
31 May
'08
8:36 a.m.
On 31/05/2008, at 8:27 AM, Carlo Bersani wrote:
pkg_size=$(du -sb | awk '{print $1}')
I suggest using "$(du -sk | awk '{print $1 * 1024}')" so that we don't have the same problem with portability as in makepkg[1]. [1] http://bugs.archlinux.org/task/10459 -- Sebastian Nowicki