Update libcvextern.sh

This commit is contained in:
Tiago Conceição
2022-08-21 06:17:50 +01:00
parent f7d989d29f
commit 3fc5806806
+4 -6
View File
@@ -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