mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4164
This commit is contained in:
parent
2797928435
commit
e3f186a330
|
@ -17110,3 +17110,9 @@ David 7 Sept 2004
|
||||||
|
|
||||||
client/
|
client/
|
||||||
whetstone.C
|
whetstone.C
|
||||||
|
|
||||||
|
David 7 Sept 2004
|
||||||
|
- change "upgrade" to query user before overwriting files
|
||||||
|
|
||||||
|
tools/
|
||||||
|
upgrade
|
||||||
|
|
|
@ -3,16 +3,18 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
'''
|
'''
|
||||||
This program upgrades the project (created using make_project) with current
|
This program upgrades the project with current source/build files.
|
||||||
source/build files. Useful if you are a BOINC developer or closely following
|
Useful if you are a BOINC developer or closely following BOINC development.
|
||||||
BOINC development.
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import boinc_path_config
|
import boinc_path_config
|
||||||
from Boinc import boinc_project_path
|
from Boinc import boinc_project_path, tools
|
||||||
from Boinc.setup_project import *
|
from Boinc.setup_project import *
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
if not tools.query_noyes("Update project executables and PHP files (overwrite existing files)"):
|
||||||
|
raise SystemExit
|
||||||
|
|
||||||
if os.system(os.path.join(boinc_project_path.PROGRAM_PARENT_DIR,'bin/stop')):
|
if os.system(os.path.join(boinc_project_path.PROGRAM_PARENT_DIR,'bin/stop')):
|
||||||
raise SystemExit("Couldn't stop BOINC!")
|
raise SystemExit("Couldn't stop BOINC!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue