daca2-download.py: minor tweaks
This commit is contained in:
parent
851c6e0ed5
commit
fbc499d033
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
#
|
#
|
||||||
# 1. Create a folder daca2 in your HOME folder
|
# Downloads all daca2 source code packages.
|
||||||
# 2. Put cppcheck-O2 in daca2. It should be built with all optimisations.
|
#
|
||||||
# 3. Optional: Put a file called "suppressions.txt" in the daca2 folder.
|
# Usage:
|
||||||
# 4. Optional: tweak FTPSERVER and FTPPATH in this script below.
|
# $ mkdir ~/daca2-packages && python daca2-download.py
|
||||||
# 5. Run the daca2 script: python daca2.py FOLDER
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
@ -14,8 +14,7 @@ import os
|
||||||
import datetime
|
import datetime
|
||||||
import time
|
import time
|
||||||
|
|
||||||
DEBIAN = ['ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/',
|
DEBIAN = ['ftp://ftp.se.debian.org/debian/',
|
||||||
'http://ftp.sunet.se/pub/Linux/distributions/Debian/debian/',
|
|
||||||
'ftp://ftp.debian.org/debian/']
|
'ftp://ftp.debian.org/debian/']
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue