Merge pull request #494 from apjanke/fix-git-repo-inclusion

Makefile: fix inverted list of commands that use is_git_repo
This commit is contained in:
hemanth.hm 2016-01-05 16:27:11 +05:30
commit ef73afb39e
2 changed files with 2 additions and 2 deletions

View file

@ -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); \

View file

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