This commit is contained in:
Ben Gras 2006-04-13 14:18:23 +00:00
parent 57245468ca
commit d061f4c3b2

View File

@ -62,13 +62,13 @@ else cont=y
while [ $cont = y ] while [ $cont = y ]
do n="`wc -l $cdpackages | awk '{ print $1 }'`" do n="`wc -l $cdpackages | awk '{ print $1 }'`"
sourcef=$CDSRC/SizeMB sourcef=$CDSRC/SizeMB
binf=$CDPACK/SizeMB
if [ -f $binf -a -f $sourcef ] if [ -f $binf -a -f $sourcef ]
then sourcemb="`cat $sourcef`" then sourcemb="`cat $sourcef`"
binmb="`cat $binf`" binmb="`cat $binf`"
sourcesize=" (`expr $binmb + $sourcemb` MB uncompressed)" sourcesize=" (`expr $binmb + $sourcemb` MB uncompressed)"
else sourcesize="" else sourcesize=""
fi fi
binf=$CDPACK/SizeMB
if [ -f $binf ] if [ -f $binf ]
then binmb="`cat $binf`" then binmb="`cat $binf`"
binsize=" ($binmb MB uncompressed)" binsize=" ($binmb MB uncompressed)"