From 0cd71233e0bcc3241488f01c2cbfa393ec49ad26 Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Wed, 20 Jul 2011 16:57:51 +0200 Subject: [PATCH] release.sh: USB build fix -Update stat syntax --- tools/release.functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` -- 2.44.0