Fix condition to build submodules.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 17 Mar 2009 22:25:53 +0000 (23:25 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 17 Mar 2009 22:25:53 +0000 (23:25 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
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
 
 ##