diff options
| -rw-r--r-- | Library/Formula/t1lib.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/t1lib.rb b/Library/Formula/t1lib.rb index 5b3efcdd4..e0fb289d4 100644 --- a/Library/Formula/t1lib.rb +++ b/Library/Formula/t1lib.rb @@ -9,11 +9,11 @@ class T1lib < Formula system './configure', "--prefix=#{prefix}" system 'make', 'without_doc' system 'make', 'install' - cp_r 'Fonts', "#{share}/t1lib/fonts" + share.install 'Fonts' => 'fonts' end test do - cp "#{share}/t1lib/fonts/type1/bchri.pfb", 'test.pfb' + cp "#{share}/fonts/type1/bchri.pfb", 'test.pfb' system "#{bin}/type1afm", 'test.pfb' assert File.exist? 'test.afm' end |
