aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-01 15:26:40 -0500
committerJack Nagel2014-06-01 15:27:40 -0500
commit692fbe6988ad42d58e4d55034ce657dd523b850a (patch)
tree7b68ecc56a710dbb70481843c6d84eb781af161c /Library
parent6fd04c89d893ec70ca4a32b191442eced9360941 (diff)
downloadhomebrew-692fbe6988ad42d58e4d55034ce657dd523b850a.tar.bz2
Remove unnecessary use of Dir[]
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
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