diff --git a/Makefile b/Makefile index 38a6cc5..197e9e4 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ $(__Wl_clipboard): ### PHONY targets that a user would run ### .PHONY : all all: - ifeq ($(git submodule status | grep --quiet '^-' ; echo $$?), 0) + ifneq ($(git submodule status | grep --quiet '^-' ; echo $$?), 1) $(error "Git submodules have not been initialised. Please run: git \ "submodule update --init") endif