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
commit95b90837444fb1ceb834b414a265dce3f8216fb1 (patch)
tree2704e76caa588288c5e08916095eafdb5eebe263 /Library
parent22685cb89d24d190960dce9d80932d8d6836fc29 (diff)
downloadbrew-95b90837444fb1ceb834b414a265dce3f8216fb1.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