Merge pull request #491 from evandroforks/fix_unused_variable_warning
Fixed "Makefile:4: warning: undefined variable 'OS'"
This commit is contained in:
commit
8f2c08e656
4
Makefile
4
Makefile
@ -1,5 +1,9 @@
|
||||
SHELL := /bin/bash
|
||||
|
||||
ifndef OS
|
||||
OS := unknown
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifndef ACTIVATE_SCRIPT
|
||||
ACTIVATE_SCRIPT := pyenv/Scripts/activate
|
||||
|
@ -1,6 +1,10 @@
|
||||
SHELL := /bin/bash
|
||||
FIND := $(if $(wildcard /bin/find),/bin/find,/usr/bin/find)
|
||||
|
||||
ifndef OS
|
||||
OS := unknown
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifndef PYTHON_BIN
|
||||
PYTHON_BIN := python
|
||||
|
Loading…
Reference in New Issue
Block a user