Changed findstr to findstring (#57)
On Mac with GNU Make 3.81 I had to change this line to get the makefile to correctly read the python version number
This commit is contained in:
parent
0249b43291
commit
5569270724
|
@ -41,7 +41,7 @@ sync_data_from_s3:
|
|||
create_environment:
|
||||
ifeq (True,$(IS_ANACONDA))
|
||||
@echo ">>> Detected Anaconda, creating conda environment."
|
||||
ifeq (3,$(findstr 3,$(PYTHON_INTERPRETER)))
|
||||
ifeq (3,$(findstring 3,$(PYTHON_INTERPRETER)))
|
||||
conda create --name $(PROJECT_NAME) python=3.5
|
||||
else
|
||||
conda create --name $(PROJECT_NAME) python=2.7
|
||||
|
|
Loading…
Reference in New Issue