diff options
| author | Mike McQuaid | 2015-03-24 09:13:42 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2015-03-24 09:13:42 +0000 | 
| commit | 2d290ddfba4b754823a1ad581db0c1f8a4a2dc45 (patch) | |
| tree | ab79f68c3bcdabbf1c6d35765edc839a373012b2 | |
| parent | afd503ecaf0adb691cf08e087a1d649c26792631 (diff) | |
| download | homebrew-2d290ddfba4b754823a1ad581db0c1f8a4a2dc45.tar.bz2 | |
test-bot: first git clean should not be a test.
We don't care if it fails as we'll immediately run a stronger version
afterwards (and we care if that fails).
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index b0d90ec5e..d41bd4d70 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -543,8 +543,8 @@ module Homebrew        checkout_args = []        if ARGV.include? '--cleanup' -        test "git", "clean", "-fdx" -        test "git", "clean", "-ffdx" if steps.last.failed? +        git "clean", "-fdx" +        test "git", "clean", "-ffdx" unless $?.success?          checkout_args << "-f"        end | 
