aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 13:03:51 -0500
committerJack Nagel2014-03-14 13:05:09 -0500
commit06380864e2ce4e3b259a3a29ce38fc28b2009566 (patch)
tree243221478d10e51ba015f689d9b23ded3fee0f67 /Library
parenta375c26497bcb8f53064bba03645351ab26d0afd (diff)
downloadhomebrew-06380864e2ce4e3b259a3a29ce38fc28b2009566.tar.bz2
Fix the debug implementation of Resource#stage as well
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/debrew.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb
index 2179f3437..b2832816b 100644
--- a/Library/Homebrew/debrew.rb
+++ b/Library/Homebrew/debrew.rb
@@ -18,6 +18,8 @@ end
module ResourceDebugger
def stage(target=nil, &block)
+ return super if target
+
super do
begin
block.call(self)