diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-02-18 20:52:33 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-02-18 20:52:33 +0100 |
commit | 762684c0e4ecab0f50f5d79bb9e961716ccff74e (patch) | |
tree | fe4ab793f43960e5783b1625de2ecf51511e8f0d /fb.in | |
parent | 9bd3b56acd7305b3194246187928485022ec6093 (diff) |
fb.in: fix stat call on darwin
%b returns blocks, but we want bytes (%z)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.in')
-rw-r--r-- | fb.in | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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() { |