donate_cpu: use https url (#1429)

Avoids git printing a warning about redirecting to https every time
the clone command is issued. The warning was:

    warning: redirecting to https://github.com/danmar/cppcheck.git/
This commit is contained in:
rikardfalkeborn 2018-10-17 06:14:06 +02:00 committed by Daniel Marjamäki
parent df32b0fb05
commit c9f768a915
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def getCppcheck(cppcheckPath):
subprocess.call(['git', 'checkout', '-f'])
subprocess.call(['git', 'pull'])
else:
subprocess.call(['git', 'clone', 'http://github.com/danmar/cppcheck.git', cppcheckPath])
subprocess.call(['git', 'clone', 'https://github.com/danmar/cppcheck.git', cppcheckPath])
if not os.path.exists(cppcheckPath):
print('Failed to clone, will try again in 10 minutes..')
time.sleep(600)