fix filesize function on osx

This commit is contained in:
Wynter Woods 2015-09-14 19:29:33 -07:00
parent f1b18688ee
commit c850341700

2
common.sh Normal file → Executable file
View File

@ -10,7 +10,7 @@ onMac() {
filesize() { filesize() {
if onMac; then if onMac; then
stat -f%z $1 stat -f "%z" $1
else else
stat --printf="%s" $1 stat --printf="%s" $1
fi fi