Skip to content

Commit

Permalink
clozure-cl: remove 32-bit script
Browse files Browse the repository at this point in the history
Closes Linuxbrew/homebrew-core#843.

Signed-off-by: Shaun Jackman <[email protected]>
  • Loading branch information
dunn authored and sjackman committed Feb 5, 2017
1 parent 48f6324 commit d858dd4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/clozure-cl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ def install
doc.install Dir["doc/*"]

libexec.install Dir["*"]
bin.install Dir["#{libexec}/scripts/ccl{,64}"]
bin.install libexec/"scripts/ccl64"
bin.env_script_all_files(libexec/"bin", :CCL_DEFAULT_DIRECTORY => libexec)
bin.install_symlink bin/"ccl64" => "ccl"
end

test do
args = "-n -e '(write-line (write-to-string (* 3 7)))' -e '(quit)'"
%w[ccl ccl64].each do |ccl|
assert_equal "21", shell_output("#{bin}/#{ccl} #{args}").strip
end
assert_equal "21", shell_output("#{bin}/ccl #{args}").strip
end
end

0 comments on commit d858dd4

Please sign in to comment.