diff options
| author | Mike McQuaid | 2014-02-13 20:16:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-13 20:16:44 +0000 |
| commit | 99ebfc49ebed6c636a0ba597cf8309f07b467bcb (patch) | |
| tree | ab993125134032ad7dce3f46b572eb1fc5702155 /Library | |
| parent | 9b54328f93058077485fa6d7c9b14d11bc8da997 (diff) | |
| download | homebrew-99ebfc49ebed6c636a0ba597cf8309f07b467bcb.tar.bz2 | |
docker: use GIT_DIR and patch.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/docker.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/docker.rb b/Library/Formula/docker.rb index 2d8d1bdb7..dd23dd935 100644 --- a/Library/Formula/docker.rb +++ b/Library/Formula/docker.rb @@ -15,15 +15,16 @@ class Docker < Formula end def patches - "https://github.com/dotcloud/docker/commit/6174ba.patch" + [ + "https://github.com/dotcloud/docker/commit/6174ba.patch", + "https://github.com/dotcloud/docker/commit/f794fb.patch", + ] end depends_on "go" => :build def install - ENV["DOCKER_GITCOMMIT"] = downloader.cached_location.cd do - `git rev-parse HEAD` - end + ENV["GIT_DIR"] = downloader.cached_location/".git" ENV["AUTO_GOPATH"] = "1" inreplace "hack/make/dynbinary", "sha1sum", "shasum" |
