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

Merge pull request #21941 from crosbymichael/copy-bins

Improve source for containerd/runc copy
This commit is contained in:
Alexander Morozov 2016-04-11 14:54:21 -07:00
commit 2bcb6d694f

View file

@ -319,7 +319,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