Skip to content

Commit

Permalink
cspice: audit fixes
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#48334.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
nijikon authored and DomT4 committed Jan 22, 2016
1 parent dd071d0 commit 848ec69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/cspice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ def install
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"
lib.install_symlink "csupport.a" => "libcsupport.a"
end

test do
system "#{bin}/tobin", "#{share}/cspice/data/cook_01.tsp", "DELME"
system "#{bin}/tobin", "#{pkgshare}/data/cook_01.tsp", "DELME"
end
end

0 comments on commit 848ec69

Please sign in to comment.