release.sh: USB build fix
-Update stat syntax
This commit is contained in:
parent
70712c015e
commit
0cd71233e0
1 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue