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
|
cp ${./tarsum.go} tarsum.go
|
||||||
export GOPATH=$(pwd)
|
export GOPATH=$(pwd)
|
||||||
mkdir src
|
mkdir -p src/github.com/docker/docker/pkg
|
||||||
ln -sT ${docker.src}/components/engine/pkg/tarsum src/tarsum
|
ln -sT ${docker.src}/components/engine/pkg/tarsum src/github.com/docker/docker/pkg/tarsum
|
||||||
go build
|
go build
|
||||||
|
|
||||||
cp tarsum $out
|
cp tarsum $out
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"tarsum"
|
"github.com/docker/docker/pkg/tarsum"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user