aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-13 09:22:40 -0700
committerAdam Vandenberg2013-06-13 09:22:40 -0700
commit808924844f8cdc2c468e88a2c5f715519faaa0da (patch)
treeced636fde6fae771d597d0a42780a282b9e8f5f4 /Library/Formula/ghostscript.rb
parent6e97ac1b54c0dde3f7c481373c14cac95e1f798c (diff)
downloadhomebrew-808924844f8cdc2c468e88a2c5f715519faaa0da.tar.bz2
ghostscript: slightly shorter 'cat'
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index f90cf192e..a3787add9 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -65,7 +65,7 @@ class Ghostscript < Formula
(buildpath+'base').install 'gdevdjvu.c'
(buildpath+'lib').install 'ps2utf8.ps'
ENV['EXTRA_INIT_FILES'] = 'ps2utf8.ps'
- File.open((buildpath+'base/contrib.mak'),'a'){|f|f.write(IO.read('gsdjvu.mak'))} #cat
+ (buildpath/'base/contrib.mak').open('a').write(File.read('gsdjvi.mak'))
end
end