1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Michael Crosby 2016-04-11 12:02:01 -07:00
parent 577adcc1ee
commit 45fb803316

View file

@ -319,7 +319,7 @@ copy_containerd() {
if [ -x /usr/local/bin/docker-runc ]; then if [ -x /usr/local/bin/docker-runc ]; then
echo "Copying nested executables into $dir" echo "Copying nested executables into $dir"
for file in containerd containerd-shim containerd-ctr runc; do 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 if [ "$2" == "hash" ]; then
hash_files "$dir/docker-$file" hash_files "$dir/docker-$file"
fi fi