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:
Luca Verginer 2016-11-10 14:19:45 +01:00 committed by Peter Bull
parent 0249b43291
commit 5569270724
1 changed files with 1 additions and 1 deletions

View File

@ -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