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:
parent
df32b0fb05
commit
c9f768a915
|
@ -46,7 +46,7 @@ def getCppcheck(cppcheckPath):
|
||||||
subprocess.call(['git', 'checkout', '-f'])
|
subprocess.call(['git', 'checkout', '-f'])
|
||||||
subprocess.call(['git', 'pull'])
|
subprocess.call(['git', 'pull'])
|
||||||
else:
|
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):
|
if not os.path.exists(cppcheckPath):
|
||||||
print('Failed to clone, will try again in 10 minutes..')
|
print('Failed to clone, will try again in 10 minutes..')
|
||||||
time.sleep(600)
|
time.sleep(600)
|
||||||
|
|
Loading…
Reference in New Issue