Optimize statement logic

Optimize statement logic
pull/2683/head
syyyj 2 years ago committed by GitHub
parent 19f008b483
commit c866cfbec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Makefile

@ -17,10 +17,8 @@ endif
# Windows
ifeq ($(os),MINGW)
GOBIN := $(subst \,/,$(GOBIN))
GOPATH := $(subst \,/,$(GOPATH))
GOBIN :=/$(shell echo "$(GOBIN)" | cut -d';' -f1 | sed 's/://g')
GOPATH :=/$(shell echo "$(GOPATH)" | cut -d';' -f1 | sed 's/://g')
GOBIN := $(shell echo "$(GOBIN)" | cut -d';' -f1 | sed 's/[\\/:]//g')
GOPATH := $(shell echo "$(GOPATH)" | cut -d';' -f1 | sed 's/[\\/:]//g')
endif
BIN := ""

Loading…
Cancel
Save