From 09026e249e0b997114524e4c65493972cdd241c5 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sat, 16 Nov 2013 15:34:41 -0500 Subject: [PATCH] fix issue with $(EDITOR) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3fc954d..f505dfe 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ add_article: dir=`echo $$title | sed "s/ /-/g"`;\ mkdir -p $(ARTICLE_DIR)/$$dir;\ cat base.md | sed "s/{title}/$$title/g" | sed s/{date}/`date "+%Y-%m-%d"`/g> $(ARTICLE_DIR)/$$dir/index.md;\ - $(EDITOR) $(ARTICLE_DIR)/$$dir/index.md + $$EDITOR $(ARTICLE_DIR)/$$dir/index.md remove_article: @echo "Enter Article Title: " @@ -28,6 +28,6 @@ edit_article: @echo "Enter Article Title: " @read title;\ dir=`echo $$title | sed "s/ /-/g"`;\ - $(EDITOR) $(ARTICLE_DIR)/$$dir/index.md + $$EDITOR $(ARTICLE_DIR)/$$dir/index.md .PHONY: build clean preview add_article remove_article edit_article