Project

General

Profile

« Previous | Next » 

Revision 9556

bugfix: lib/sh/util.sh: file_size: need to use --format instead of -f on Linux

View differences:

util.sh
660 660

  
661 661
#### filesystem
662 662

  
663
alias file_size="stat -f %`case "$(uname)" in Darwin) echo z;; *) echo s;;esac`"
663
alias file_size=\
664
"stat `case "$(uname)" in Darwin) echo -f %z;; *) echo --format=s;; esac`"
664 665

  
665 666

  
666 667
#### URLs

Also available in: Unified diff