Browse Source

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

Fix installation using make install
Akihiro Suda 8 years ago
parent
commit
48dd90d398
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hack/make.sh

+ 1 - 0
hack/make.sh

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