Explorar el Código

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

Fix installation using make install
Akihiro Suda hace 8 años
padre
commit
48dd90d398
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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"