From: Arun Thomas Date: Wed, 20 Jul 2011 14:57:51 +0000 (+0200) Subject: release.sh: USB build fix X-Git-Tag: v3.2.0~438 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/mem/static/tz-link.htm?a=commitdiff_plain;h=0cd71233e0bcc3241488f01c2cbfa393ec49ad26;p=minix.git release.sh: USB build fix -Update stat syntax --- diff --git a/tools/release.functions b/tools/release.functions index 0e45449f7..0a4f5e790 100644 --- a/tools/release.functions +++ b/tools/release.functions @@ -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`