[pacman-dev] bacman
Xavier
shiningxc at gmail.com
Mon Jun 2 05:07:36 EDT 2008
On Sat, May 31, 2008 at 3:03 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> 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.
>
Yep right, I also noticed it previously, but at that moment the patch
was not applied to makepkg yet and I was not 100% sure it would be :
http://bbs.archlinux.org/viewtopic.php?pid=372994#p372994
More information about the pacman-dev
mailing list