OS X fix for usage function.
parent
a3c482d8d9
commit
c204a43305
|
|
@ -121,7 +121,7 @@ function usage ()
|
||||||
param '1: directory name'
|
param '1: directory name'
|
||||||
group 'base'
|
group 'base'
|
||||||
if [ $(uname) = "Darwin" ]; then
|
if [ $(uname) = "Darwin" ]; then
|
||||||
if [ -n $1 ]; then
|
if [ -n "$1" ]; then
|
||||||
du -hd $1
|
du -hd $1
|
||||||
else
|
else
|
||||||
du -hd 1
|
du -hd 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue