Merge pull request #725 from vbatts/make-install

Makefile: fix `sudo make install`
This commit is contained in:
Phil Estes 2017-04-12 15:42:17 -04:00 committed by GitHub
commit 4a749ad473

View File

@ -9,7 +9,11 @@ VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always)
PKG=github.com/containerd/containerd
ifneq "$(strip $(shell command -v go 2>/dev/null))" ""
GOOS ?= $(shell go env GOOS)
else
GOOS ?= $$GOOS
endif
WHALE = "🐳"
ONI = "👹"
ifeq ("$(OS)", "Windows_NT")