зеркало из https://github.com/microsoft/docker.git
Merge pull request #30522 from gazoo74/fix-make-install
Fix installation using make install
This commit is contained in:
Коммит
48dd90d398
|
@ -251,6 +251,7 @@ install_binary() {
|
|||
target="${DOCKER_MAKE_INSTALL_PREFIX:=/usr/local}/bin/"
|
||||
if [ "$(go env GOOS)" == "linux" ]; then
|
||||
echo "Installing $(basename $file) to ${target}"
|
||||
mkdir -p "$target"
|
||||
cp -L "$file" "$target"
|
||||
else
|
||||
echo "Install is only supported on linux"
|
||||
|
|
Загрузка…
Ссылка в новой задаче