aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-09 13:23:03 -0700
committerAdam Vandenberg2012-09-09 13:23:03 -0700
commit1a5df200bbf0eed2cc6cd0874ffdd82be462bf42 (patch)
treee7fe58089a96b15b839cce89620b9bc293d4bc74 /Library
parent7334e4b99027f932b73e8234f1a3585b468f0b60 (diff)
downloadhomebrew-1a5df200bbf0eed2cc6cd0874ffdd82be462bf42.tar.bz2
Fix code that chmods metafiles
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index f13a84dde..a7af44342 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -158,7 +158,7 @@ def install f
# Some software symlinks these files (see help2man.rb)
target_file = Pathname.new(target_file).resolved_path
f.prefix.install target_file => filename rescue nil
- (f.prefix+file).chmod 0644 rescue nil
+ (f.prefix/filename).chmod 0644 rescue nil
end
end
end