diff options
| author | Max Howell | 2010-01-03 02:59:16 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-06 21:02:36 +0000 |
| commit | fc3915c4c9ffcd1108055034fa605264137f5116 (patch) | |
| tree | 1d40020c070a6e9060dc5da07a8382d68d235311 /Library | |
| parent | 22b7a4218947b45164b8746402404191bf8c3c1a (diff) | |
| download | homebrew-fc3915c4c9ffcd1108055034fa605264137f5116.tar.bz2 | |
Use full path to du
Fixes #354
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 36aaa31fb..eaac2ee68 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -93,7 +93,7 @@ class Pathname out='' n=`find #{to_s} -type f | wc -l`.to_i out<<"#{n} files, " if n > 1 - out<<`du -hd0 #{to_s} | cut -d"\t" -f1`.strip + out<<`/usr/bin/du -hd0 #{to_s} | cut -d"\t" -f1`.strip end # attempts to retrieve the version component of this path, so generally |
