release.sh: USB build fix

-Update stat syntax
This commit is contained in:
Arun Thomas 2011-07-20 16:57:51 +02:00
parent 70712c015e
commit 0cd71233e0

View file

@ -3,8 +3,8 @@ make_hdimage()
{
dd if=$TMPDISKUSR of=usrimage bs=$BS count=$USRBLOCKS
rootsize=`stat -size rootimage`
usrsize=`stat -size usrimage`
rootsize=`stat -f %z rootimage`
usrsize=`stat -f %z usrimage`
rootsects=`expr $rootsize / 512`
usrsects=`expr $usrsize / 512`