mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30522 from gazoo74/fix-make-install
Fix installation using make install
This commit is contained in:
commit
48dd90d398
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue