aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-08-29 14:13:46 -0400
committerMax Howell2012-08-29 14:45:04 -0400
commit4feb8e1cb4cf20df93e18c7642d68fe4a4bba6c7 (patch)
treeed818d99a4602303e227f1832f7ecbcd6e7d0efe
parent1eb808c109466a6f774e2171510b1a3202853509 (diff)
downloadbrew-4feb8e1cb4cf20df93e18c7642d68fe4a4bba6c7.tar.bz2
Deprecate skip_clean :all
This was mostly used to prevent stripping. Now we don't strip. Force formula to remove this setting or be more specific about folders they don't want pruned.
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 08e01a7d7..2c3345256 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -678,7 +678,11 @@ private
def skip_clean paths
if paths == :all
- @skip_clean_all = true
+ opoo "skip_clean :all is deprecated"
+ puts "Skip clean was commonly used to prevent brew from stripping binaries."
+ puts "brew no longer strips binaries, if skip_clean is required to prevent"
+ puts "brew from removing empty directories, you should specify exact paths"
+ puts "in the formula."
return
end
@skip_clean_paths ||= []