[pacman-dev] bacman
Dan McGee
dpmcgee at gmail.com
Sat May 31 09:03:17 EDT 2008
On Sat, May 31, 2008 at 3:36 AM, Sebastian Nowicki <sebnow at gmail.com> wrote:
>
> 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
Nice catch.
-Dan
More information about the pacman-dev
mailing list