From 8c9421da29445c1e7372870c23984a7efabaa1af Mon Sep 17 00:00:00 2001 From: epwalsh Date: Mon, 1 Jun 2020 15:27:24 -0700 Subject: [PATCH] fix Makefile --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index df817c90e10..cc43b1e38b9 100644 --- a/Makefile +++ b/Makefile @@ -19,13 +19,13 @@ DOCKER_RUN_CMD = docker run --rm \ -v $$HOME/nltk_data:/root/nltk_data ifeq ($(shell uname),Darwin) - ifeq ($(shell which gsed),) - $(error Please install GNU sed with 'brew install gnu-sed') - else - SED = gsed - endif +ifeq ($(shell which gsed),) +$(error Please install GNU sed with 'brew install gnu-sed') else - SED = sed +SED = gsed +endif +else +SED = sed endif .PHONY : version