From 55692707249c58fb010a1836d3e0069c5301a054 Mon Sep 17 00:00:00 2001 From: Luca Verginer Date: Thu, 10 Nov 2016 14:19:45 +0100 Subject: [PATCH] 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 --- {{ cookiecutter.repo_name }}/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 61871ec..33f1b57 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -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