Merge pull request #37877 from srhb/tarsum-import
dockerTools.tarsum: Fix upstream import
This commit is contained in:
commit
63a8d8c9e2
@ -44,8 +44,8 @@ rec {
|
||||
|
||||
cp ${./tarsum.go} tarsum.go
|
||||
export GOPATH=$(pwd)
|
||||
mkdir src
|
||||
ln -sT ${docker.src}/components/engine/pkg/tarsum src/tarsum
|
||||
mkdir -p src/github.com/docker/docker/pkg
|
||||
ln -sT ${docker.src}/components/engine/pkg/tarsum src/github.com/docker/docker/pkg/tarsum
|
||||
go build
|
||||
|
||||
cp tarsum $out
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"tarsum"
|
||||
"github.com/docker/docker/pkg/tarsum"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user