From 0133afe6f8565ae84ab6267eb8e773abaad827cd Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 1 Jun 2014 15:26:40 -0500 Subject: Remove unnecessary use of Dir[] --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index ce7367398..cc1380bcc 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -754,7 +754,7 @@ class BazaarDownloadStrategy < VCSDownloadStrategy # FIXME: The export command doesn't work on checkouts # See https://bugs.launchpad.net/bzr/+bug/897511 FileUtils.cp_r Dir[@clone+"{.}"], Dir.pwd - FileUtils.rm_r Dir[Dir.pwd+"/.bzr"] + FileUtils.rm_r ".bzr" end end -- cgit v1.2.3