From 54edfc41c6629f76abdf96fce0cb8ce338219bfe Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 11 Apr 2016 12:02:01 -0700 Subject: [PATCH] Improve source for containerd/runc copy This improves getting the source for the binaries that are compiled on the system so that they can be copied into the bundles output. Signed-off-by: Michael Crosby --- hack/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make.sh b/hack/make.sh index 99da4c3aa6..2674ec9b07 100755 --- a/hack/make.sh +++ b/hack/make.sh @@ -307,7 +307,7 @@ copy_containerd() { if [ -x /usr/local/bin/docker-runc ]; then echo "Copying nested executables into $dir" for file in containerd containerd-shim containerd-ctr runc; do - cp "/usr/local/bin/docker-$file" "$dir/" + cp `which "docker-$file"` "$dir/" if [ "$2" == "hash" ]; then hash_files "$dir/docker-$file" fi