Merge pull request #30522 from gazoo74/fix-make-install
Fix installation using make install Upstream-commit: 48dd90d3985889ca008faa3b041bf31d2ada95c5 Component: engine
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user