From c920de9de678be41daf98ed407a8897f394b4277 Mon Sep 17 00:00:00 2001 From: Silas Sewell Date: Fri, 17 Jan 2014 19:58:34 -0500 Subject: t1lib: use share.install instead of cp_r Closes #26005. Signed-off-by: Mike McQuaid --- Library/Formula/t1lib.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3