Merge pull request #30522 from gazoo74/fix-make-install

Fix installation using make install
Upstream-commit: 48dd90d3985889ca008faa3b041bf31d2ada95c5
Component: engine
This commit is contained in:
Akihiro Suda
2017-01-30 11:24:02 +09:00
committed by GitHub

View File

@ -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"