]> Zhao Yanbai Git Server - minix.git/commitdiff
package list sanity check
authorBen Gras <ben@minix3.org>
Tue, 20 Jan 2009 15:49:42 +0000 (15:49 +0000)
committerBen Gras <ben@minix3.org>
Tue, 20 Jan 2009 15:49:42 +0000 (15:49 +0000)
tools/release.sh

index bdd96c72ec1b277ff0ce9c8170ebce2396ef16df..41c1817f6f026ef92fb6d01674893e6f5091e0fa 100755 (executable)
@@ -132,7 +132,7 @@ do
        esac
 done
 
-USRMB=150
+USRMB=550
 
 USRBLOCKS="`expr $USRMB \* 1024 \* 1024 / $BS`"
 USRSECTS="`expr $USRMB \* 1024 \* 2`"
@@ -253,13 +253,13 @@ then      echo " * Indexing packages"
        bintotal=0
        ( cd $PACKAGEDIR
          for p in *.tar.bz2
-         do    echo $p >&2
+         do    
                p="`echo $p | sed 's/.tar.bz2//'`"
                descr="../$p/.descr"
                if [ -f "$descr" ]
                then    echo "$p|`cat $descr`"
                fi
-         done >List
+         done | tee List
        )
        for d in $PACKAGEDIR $PACKAGESOURCEDIR
        do      echo Counting size of $d