Always pass path to formula constructor
This commit is contained in:
parent
d3ad1212fb
commit
1b9aed4025
@ -1,7 +1,7 @@
|
||||
require 'formula'
|
||||
|
||||
class TestBall < Formula
|
||||
def initialize(name="test_ball", path=nil)
|
||||
def initialize(name="test_ball", path=Pathname.new(__FILE__).expand_path)
|
||||
self.class.instance_eval do
|
||||
stable.url "file://#{TEST_DIRECTORY}/tarballs/testball-0.1.tbz"
|
||||
stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user