hack/make: remove 'docker-' prefix when copying binaries
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
34eede0296
commit
361412c79e
|
@ -10,14 +10,14 @@ copy_binaries() {
|
||||||
if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARCH)" ]; then
|
if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARCH)" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [ ! -x /usr/local/bin/docker-runc ]; then
|
if [ ! -x /usr/local/bin/runc ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
echo "Copying nested executables into $dir"
|
echo "Copying nested executables into $dir"
|
||||||
for file in containerd containerd-shim containerd-ctr runc init proxy; do
|
for file in containerd containerd-shim ctr runc docker-init docker-proxy; do
|
||||||
cp -f `which "docker-$file"` "$dir/"
|
cp -f `which "$file"` "$dir/"
|
||||||
if [ "$hash" == "hash" ]; then
|
if [ "$hash" == "hash" ]; then
|
||||||
hash_files "$dir/docker-$file"
|
hash_files "$dir/$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue