소스 검색

Merge pull request #22005 from crosbymichael/runc-source

Improve source for containerd/runc copy
Tibor Vass 9 년 전
부모
커밋
365d80b3e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hack/make.sh

+ 1 - 1
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