From 47637c5c8f15fa34e685d8dcf1dd6be8f7979b34 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 29 Sep 2014 14:41:55 -0500 Subject: clozure-cl: replace loop with glob --- Library/Formula/clozure-cl.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library') 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}"] -- cgit v1.2.3