diff options
| author | Mike McQuaid | 2012-11-25 13:03:13 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-11-25 21:03:57 +0000 |
| commit | d64d01bc9b29d50e0e20a2c6cbfa35121095f112 (patch) | |
| tree | aa838fed53c7c25294eb73afad5571fd59db0e6d /Library | |
| parent | d14b5ceff67776c5b83af605fb69a838f8a7d130 (diff) | |
| download | homebrew-d64d01bc9b29d50e0e20a2c6cbfa35121095f112.tar.bz2 | |
brew-test-bot: don't cleanup HOMEBREW_PREFIX.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmds/brew-test-bot.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb index 046c1ede4..6d044970f 100755 --- a/Library/Contributions/cmds/brew-test-bot.rb +++ b/Library/Contributions/cmds/brew-test-bot.rb @@ -305,6 +305,10 @@ class Test end end +if Pathname.pwd == HOMEBREW_PREFIX and ARGV.include? "--cleanup" + odie 'cannot use --cleanup from HOMEBREW_PREFIX as it will delete all output.' +end + if ARGV.named.empty? # With no arguments just build the most recent commit. Test.run 'HEAD' |
