fixing issue with osx, (d) is bot supported

pull/160/head
Vaidas Zilionis 2012-10-09 17:15:04 +03:00
parent 8073340a09
commit 376c227256
1 changed files with 2 additions and 2 deletions

View File

@ -137,9 +137,9 @@ usage ()
group 'base' group 'base'
if [ $(uname) = "Darwin" ]; then if [ $(uname) = "Darwin" ]; then
if [ -n $1 ]; then if [ -n $1 ]; then
du -hd $1 du -h $1
else else
du -hd 1 du -h 1
fi fi
elif [ $(uname) = "Linux" ]; then elif [ $(uname) = "Linux" ]; then