summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorMichael Crosby <crosbymichael@gmail.com>2016-04-11 12:02:01 -0700
committerMichael Crosby <crosbymichael@gmail.com>2016-04-13 10:34:07 -0700
commit54edfc41c6629f76abdf96fce0cb8ce338219bfe (patch)
treee89342b4af2c783825cf9307d8e150f3b37143c0 /hack
parent4a6f2274becc7f1a5ba697f489be655c2d6ab8e2 (diff)
downloaddocker-54edfc41c6629f76abdf96fce0cb8ce338219bfe.tar.gz
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 <crosbymichael@gmail.com>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/make.sh2
1 files changed, 1 insertions, 1 deletions
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