]> Zhao Yanbai Git Server - minix.git/commitdiff
release.sh: USB build fix
authorArun Thomas <arun@minix3.org>
Wed, 20 Jul 2011 14:57:51 +0000 (16:57 +0200)
committerArun Thomas <arun@minix3.org>
Wed, 20 Jul 2011 14:57:51 +0000 (16:57 +0200)
-Update stat syntax

tools/release.functions

index 0e45449f736e73424af50b845f10a9a29433b2c3..0a4f5e79059b2723ef2bd9c76bd4dc5b08ca40cf 100644 (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`