From 762684c0e4ecab0f50f5d79bb9e961716ccff74e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 18 Feb 2012 20:52:33 +0100 Subject: fb.in: fix stat call on darwin %b returns blocks, but we want bytes (%z) Signed-off-by: Florian Pritz --- fb.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fb.in b/fb.in index a0590eb..19cba7a 100644 --- a/fb.in +++ b/fb.in @@ -27,9 +27,8 @@ LIBDIR="@LIBDIR@" # the calling conventions for stat(1) are highly system dependent STAT='stat -c %s' # GNU stat(1) is the default since most people have it case "`uname -s`" in - *BSD) STAT='stat -f %z';; + *BSD|Darwin) STAT='stat -f %z';; Minix) STAT='stat -size';; - Darwin) STAT='stat -f %b';; esac base64_encode() { -- cgit v1.2.3-24-g4f1b