Update libcvextern.sh

This commit is contained in:
Tiago Conceição
2022-10-28 02:25:36 +01:00
parent f4961c0c7b
commit 0af7639297
+5 -1
View File
@@ -55,7 +55,9 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
fi
[ -z "$(command -v git)" -o -z "$(command -v cmake)" ] && brew install git cmake
[ -z "$(command -v git)" ] && brew install git
[ -z "$(command -v cmake)" ] && brew install cmake
[ -z "$(command -v mono)" ] && brew install mono
[ -z "$(command -v dotnet)" ] && brew install --cask dotnet-sdk
elif testcmd apt-get; then
osVariant="debian"
@@ -97,6 +99,8 @@ if [ -z "$osVariant" ]; then
exit -1
fi
[ -n "$lastArg" ] && directory="$directory-$lastArg"
if [ ! -d "$directory" ]; then
if [ -z "$lastArg" ]; then
echo "Cloning master"