Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 40078 | Differences between
and this patch

Collapse All | Expand All

(-)pkg-size.orig (-1 / +1 lines)
Lines 48-54 Link Here
48
48
49
pkgname=`echo $file | sed -e "s:\/var\/db\/pkg\/::" -e "s:\/CONTENTS::"`
49
pkgname=`echo $file | sed -e "s:\/var\/db\/pkg\/::" -e "s:\/CONTENTS::"`
50
50
51
totals=`cat $file|grep "obj"|awk '{ print $2 }' | sed "s/ /\\ /" | xargs du -scb | grep total | cut -f 1`
51
totals=`cat $file|grep "obj"|awk '{ print $2 }' | sed "s/ /\\ /" | xargs -r du -scb | grep total | cut -f 1`
52
52
53
size=0
53
size=0
54
for i in $totals ; do
54
for i in $totals ; do

Return to bug 40078