aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorMax Howell2009-08-10 11:45:25 +0100
committerMax Howell2009-08-10 18:12:16 +0100
commitce16f44d3fdf26f23949dc74a7a0e0e5d3b4fe0b (patch)
tree26d0c5eece16e2b9e9fe92ebebcbc9d6147eab1d /Library/Formula/python.rb
parentaf21407fec7f7dd37b43a0734c9ab5e55872c1e5 (diff)
downloadhomebrew-ce16f44d3fdf26f23949dc74a7a0e0e5d3b4fe0b.tar.bz2
Allow skip_clean? to skip entire directories
Speeds up Python formula plenty in clean phase
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 6118ad716..d1d058644 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -11,7 +11,8 @@ class Python <Formula
end
def skip_clean? path
- return path == bin+'python' or path == bin+'python2.6'
+ path == bin+'python' or path == bin+'python2.6' or # if you strip these, it can't load modules
+ path == lib+'python2.6' # save a lot of time
end
def install