aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
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