]> Zhao Yanbai Git Server - minix.git/commitdiff
make USRMB settable
authorBen Gras <ben@minix3.org>
Thu, 19 Mar 2009 14:14:57 +0000 (14:14 +0000)
committerBen Gras <ben@minix3.org>
Thu, 19 Mar 2009 14:14:57 +0000 (14:14 +0000)
tools/release.sh

index c1eedd14cea992087a2b3400e59f30f5d033d626..c377a48f30a4af2185f3c2d4400304142debaab7 100755 (executable)
@@ -135,7 +135,12 @@ do
        esac
 done
 
-USRMB=550
+if [ ! "$USRMB" ]
+then   USRMB=550
+fi
+
+echo $USRMB MB
+
 USRKB=$(($USRMB*1024))
 USRBLOCKS=$(($USRMB * 1024 * 1024 / $BS))
 USRSECTS=$(($USRMB * 1024 * 2))