aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2014-05-10 14:23:24 -0700
committerMisty De Meo2014-05-10 14:23:43 -0700
commit50b8a68d314cf93ab9dbc21a7030f2fb7e5b45fc (patch)
tree7240df8cd45cdec542ee2f78a2e4959c06332fe4 /Library/Formula
parent805b6187a0f50bf851c8af684f80be1f0fbd2881 (diff)
downloadhomebrew-50b8a68d314cf93ab9dbc21a7030f2fb7e5b45fc.tar.bz2
git-annex: adjust assert for Ruby pre-1.8.7
Within a block, Ruby pre-1.8.7 gets confused about the parens in this case. Fixes mistydemeo/tigerbrew#194.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git-annex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git-annex.rb b/Library/Formula/git-annex.rb
index 62618d18a..cfb78eaf2 100644
--- a/Library/Formula/git-annex.rb
+++ b/Library/Formula/git-annex.rb
@@ -50,7 +50,7 @@ class GitAnnex < Formula
# and propagate its content to another
system "git", "clone", "my_annex", "my_annex_clone"
Dir.chdir "my_annex_clone" do
- assert (not File.file? "bigfile")
+ assert !File.file?("bigfile")
system "git", "annex", "get", "bigfile"
assert File.file? "bigfile"
end