forked from qt-creator/qt-creator
Android: fix potentiallyy big clone of android_openssl with --depth=1
Change-Id: I839221ee7a3fe8c1dec90d010ecbb492517fcba1 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -800,7 +800,7 @@ void AndroidSettingsWidget::downloadOpenSslRepo(const bool silent)
|
||||
|
||||
const QString openSslRepo("https://github.com/KDAB/android_openssl.git");
|
||||
Utils::QtcProcess *gitCloner = new Utils::QtcProcess(this);
|
||||
gitCloner->setCommand(Utils::CommandLine("git", {"clone", openSslRepo, openSslPath.fileName()}));
|
||||
gitCloner->setCommand(Utils::CommandLine("git", {"clone", "--depth=1", openSslRepo, openSslPath.fileName()}));
|
||||
gitCloner->setWorkingDirectory(openSslPath.parentDir().toString());
|
||||
|
||||
QDir openSslDir(openSslPath.toString());
|
||||
|
Reference in New Issue
Block a user