Skip to content

Commit

Permalink
oksh 6.9 (new formula)
Browse files Browse the repository at this point in the history
Closes #76437.

Signed-off-by: Carlo Cabrera <[email protected]>
Signed-off-by: Nanda H Krishna <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
alebcay authored and BrewTestBot committed May 2, 2021
1 parent aa4ebd2 commit d3a80b5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Formula/oksh.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Oksh < Formula
desc "Portable OpenBSD ksh, based on the public domain Korn shell (pdksh)"
homepage "https://github.com/ibara/oksh"
url "https://github.com/ibara/oksh/releases/download/oksh-6.9/oksh-6.9.tar.gz"
sha256 "c08d97b2ac9ee5d88e9e508d27c75502b2d06c20d4c5ab87b496cb3b9951bd35"
license all_of: [:public_domain, "BSD-3-Clause", "ISC"]
head "https://github.com/ibara/oksh.git", branch: "main"

def install
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make"
system "make", "install"
end

test do
assert_equal "hello", shell_output("#{bin}/oksh -c \"echo -n hello\"")
end
end

0 comments on commit d3a80b5

Please sign in to comment.