Fix condition to build submodules.
[platal.git] / Makefile
index fc1550e..3fb1921 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ q:
 ##
 
 core:
-       [ -d core ] || ( git submodule init && git submodule update )
+       [ -d core/.git ] || ( git submodule init && git submodule update )
        make -C core all
 
 ##