diff --git a/Makefile b/Makefile index b9e8443..8482ac0 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ endif ifeq ($(HOST),) $(error HOST not set) endif -ifneq (`git diff`,) +ifneq ($(shell git diff),) git add . git commit -m "auto commit on build" -m "`PAGER=cat git diff --name-only --cached`" endif