From a1530d90f2b16b79863d9fcd596b2f733e0455b9 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Thu, 31 Dec 2015 20:28:13 -0500 Subject: [PATCH] Makefile: fix inverted list of commands that use is_git_repo --- Makefile | 2 +- need_git_repo => not_need_git_repo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename need_git_repo => not_need_git_repo (54%) diff --git a/Makefile b/Makefile index 811e1cf89..aa159b703 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ install: echo "... installing $(COMMAND)"; \ head -1 bin/$(COMMAND) > $(TEMPFILE); \ cat $(LIB) >> $(TEMPFILE); \ - if grep "$(COMMAND)" need_git_repo >/dev/null; then \ + if ! grep "$(COMMAND)" not_need_git_repo >/dev/null; then \ cat ./helper/is-git-repo >> $(TEMPFILE); \ fi; \ tail -n +2 bin/$(COMMAND) >> $(TEMPFILE); \ diff --git a/need_git_repo b/not_need_git_repo similarity index 54% rename from need_git_repo rename to not_need_git_repo index 5f5e38880..d941c3c21 100644 --- a/need_git_repo +++ b/not_need_git_repo @@ -1,4 +1,4 @@ -# A list of the commands that use is_git_repo, and should have +# A list of the commands that do not use is_git_repo(), and should not have # it included in the "built" version of the command git-alias git-extras