From 3fc5806806ee4fcd85de85cce25da25a2b7c4bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Sun, 21 Aug 2022 06:17:50 +0100 Subject: [PATCH] Update libcvextern.sh --- build/libcvextern.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build/libcvextern.sh b/build/libcvextern.sh index 261b340..14e8167 100644 --- a/build/libcvextern.sh +++ b/build/libcvextern.sh @@ -92,17 +92,15 @@ fi if [ ! -d "$directory" ]; then if [ -z "$lastArg" ]; then echo "Cloning master" - git clone https://github.com/emgucv/emgucv "$directory" + git clone --recurse-submodules --depth 1 https://github.com/emgucv/emgucv "$directory" else echo "Cloning $lastArg" - git clone --depth 1 --branch "$lastArg" https://github.com/emgucv/emgucv "$directory" + git clone --recurse-submodules --depth 1 --branch "$lastArg" https://github.com/emgucv/emgucv "$directory" fi - cd "$directory" - git submodule update --init --recursive -else - cd "$directory" fi +cd "$directory" + echo "- Bulding" if [ osVariant == "macOS" ]; then cd platforms/macos