diff options
| author | Max Howell | 2010-01-03 02:59:16 +0000 |
|---|---|---|
| committer | Max Howell | 2010-01-06 21:02:36 +0000 |
| commit | 89479912ecbfe343a7d002c9b71d2359cc1cbde2 (patch) | |
| tree | 3d424632e331201ca79460b0c46e53ad1cd7543f /Library | |
| parent | 8b7b132620f70746afd4bbdff21f7915752ad24e (diff) | |
| download | brew-89479912ecbfe343a7d002c9b71d2359cc1cbde2.tar.bz2 | |
Use full path to du
Fixes Homebrew/homebrew#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 |
