aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexander Altman2015-03-17 17:31:14 -0700
committerMike McQuaid2015-03-18 17:20:47 +0000
commitc60efa1c0dcc5d6286826e79bc78a184a09904c4 (patch)
treefeb069f2bc72d228795daa887295071598a06dbe /Library/Formula
parent9e961f6b3d157dcd4f6691b71a0188ff99d91b47 (diff)
downloadhomebrew-c60efa1c0dcc5d6286826e79bc78a184a09904c4.tar.bz2
one-ml: Change stdlib install path
This makes the formula much less likely to accidentally collide with another formula. Closes #37819. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/one-ml.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/one-ml.rb b/Library/Formula/one-ml.rb
index 3c610bf51..fcff7b086 100644
--- a/Library/Formula/one-ml.rb
+++ b/Library/Formula/one-ml.rb
@@ -2,6 +2,7 @@ class OneMl < Formula
homepage "https://www.mpi-sws.org/~rossberg/1ml/"
url "https://www.mpi-sws.org/~rossberg/1ml/1ml-0.1.zip"
sha256 "64c40c497f48355811fc198a2f515d46c1bb5031957b87f6a297822b07bb9c9a"
+ revision 1
bottle do
cellar :any
@@ -15,11 +16,11 @@ class OneMl < Formula
def install
system "make"
bin.install "1ml"
- (share/"std").install Dir.glob("*.1ml")
+ (share/"one-ml/stdlib").install Dir.glob("*.1ml")
doc.install "README.txt"
end
test do
- system "#{bin}/1ml", "#{share}/std/prelude.1ml", "#{share}/std/paper.1ml"
+ system "#{bin}/1ml", "#{share}/one-ml/stdlib/prelude.1ml", "#{share}/one-ml/stdlib/paper.1ml"
end
end