aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lolcode.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/lolcode.rb b/Library/Formula/lolcode.rb
index 345b6b52b..4e347ac79 100644
--- a/Library/Formula/lolcode.rb
+++ b/Library/Formula/lolcode.rb
@@ -3,9 +3,10 @@ require 'formula'
class Lolcode < Formula
homepage 'http://www.icanhaslolcode.org/'
url 'https://github.com/justinmeza/lci/tarball/v0.9.2'
- head 'https://github.com/justinmeza/lolcode.git'
md5 'bb757687aabea302351cbbce77e01c26'
+ head 'https://github.com/justinmeza/lolcode.git'
+
def install
inreplace 'Makefile' do |s|
s.change_make_var! "prefix", prefix
@@ -15,7 +16,7 @@ class Lolcode < Formula
# v0.9.2 should use 'make install'.
# Later versions can just copy the 'lolcode' bin.
- if ARGV.build_head?
+ if build.head?
bin.install 'lolcode'
else
bin.mkpath