cspice: audit fixes
Closes Homebrew/homebrew#48334. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
dd071d07f5
commit
848ec69120
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ class Cspice < Formula
|
|||
rm_f Dir["exe/*"]
|
||||
system "csh", "makeall.csh"
|
||||
mv "exe", "bin"
|
||||
(share/"cspice").install "doc", "data"
|
||||
pkgshare.install "doc", "data"
|
||||
prefix.install "bin", "include", "lib"
|
||||
|
||||
lib.install_symlink "cspice.a" => "libcspice.a"
|
||||
|
@ -31,6 +31,6 @@ class Cspice < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/tobin", "#{share}/cspice/data/cook_01.tsp", "DELME"
|
||||
system "#{bin}/tobin", "#{pkgshare}/data/cook_01.tsp", "DELME"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue