aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-09-29 14:41:55 -0500
committerJack Nagel2014-09-29 14:41:55 -0500
commit47637c5c8f15fa34e685d8dcf1dd6be8f7979b34 (patch)
tree728eced2c58cc0ceb53e2c4b467c803c43ba32a8 /Library/Formula
parent75fc5efd9a8a5a9267b1424c6bd32e4d55fcd4d2 (diff)
downloadhomebrew-47637c5c8f15fa34e685d8dcf1dd6be8f7979b34.tar.bz2
clozure-cl: replace loop with glob
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/clozure-cl.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/clozure-cl.rb b/Library/Formula/clozure-cl.rb
index 10cb04498..aa9231847 100644
--- a/Library/Formula/clozure-cl.rb
+++ b/Library/Formula/clozure-cl.rb
@@ -10,12 +10,7 @@ class ClozureCl < Formula
def install
# Get rid of all the .svn directories
- buildpath.find do |path|
- if path.directory? and path.basename.to_s == '.svn'
- rm_rf path
- Find.prune
- end
- end
+ rm_rf Dir["**/.svn"]
libexec.install Dir["*"]
scripts = Dir["#{libexec}/scripts/ccl{,64}"]