From 5ff2e3357b76b686cbf8162f65c26eb245e0aab2 Mon Sep 17 00:00:00 2001 From: Tomasz Pajor Date: Sun, 17 Jan 2016 15:47:56 +0100 Subject: [PATCH] antiword: audit fixes Closes Homebrew/homebrew#48180. Signed-off-by: Dominyk Tiller --- Formula/antiword.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/antiword.rb b/Formula/antiword.rb index 7a2ec02ea4..02fa00e7fb 100644 --- a/Formula/antiword.rb +++ b/Formula/antiword.rb @@ -10,15 +10,15 @@ class Antiword < Formula end def install - inreplace "antiword.h", "/usr/share/antiword", "#{share}/antiword" + inreplace "antiword.h", "/usr/share/antiword", pkgshare system "make", "CC=#{ENV.cc}", "LD=#{ENV.cc}", "CFLAGS=#{ENV.cflags} -DNDEBUG", "GLOBAL_INSTALL_DIR=#{bin}", - "GLOBAL_RESOURCES_DIR=#{share}/antiword" + "GLOBAL_RESOURCES_DIR=#{pkgshare}" bin.install "antiword" - (share/"antiword").install Dir["Resources/*"] + pkgshare.install Dir["Resources/*"] man1.install "Docs/antiword.1" end