]> Zhao Yanbai Git Server - minix.git/commitdiff
sigh
authorBen Gras <ben@minix3.org>
Thu, 13 Apr 2006 14:18:23 +0000 (14:18 +0000)
committerBen Gras <ben@minix3.org>
Thu, 13 Apr 2006 14:18:23 +0000 (14:18 +0000)
commands/scripts/packman.sh

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