diff options
| author | Mike McQuaid | 2013-07-17 22:08:21 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-18 09:56:55 -0700 |
| commit | 1a4bea3a550c94f9804293375b2e99eb4fab1118 (patch) | |
| tree | 09d819d9045499af8effb5d0137405d52974c529 /Library | |
| parent | f3821364a724856c7cb6e05246b13434934b50dd (diff) | |
| download | brew-1a4bea3a550c94f9804293375b2e99eb4fab1118.tar.bz2 | |
brew-test-bot: only force fetch with --cleanup.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 772ceee63..5ef11db69 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -256,7 +256,9 @@ class Test end test "brew fetch #{dependencies}" unless dependencies.empty? - test "brew fetch --force --build-bottle #{formula}" + formula_fetch_options = "--build-bottle" + formula_fetch_options << " --force" if ARGV.include? '--cleanup' + test "brew fetch #{formula_fetch_options} #{formula}" test "brew uninstall --force #{formula}" if formula_object.installed? install_args = '--verbose --build-bottle' install_args << ' --HEAD' if ARGV.include? '--HEAD' |
