mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2278
This commit is contained in:
parent
afbd48676e
commit
b6be970492
|
@ -23,8 +23,11 @@ def sign_executable(executable_path):
|
||||||
'tools','sign_executable')
|
'tools','sign_executable')
|
||||||
if not os.path.exists(sign_executable_path):
|
if not os.path.exists(sign_executable_path):
|
||||||
raise SystemExit("tools/sign_executable not found! did you `make' it?")
|
raise SystemExit("tools/sign_executable not found! did you `make' it?")
|
||||||
return os.popen('%s %s %s'%(sign_executable_path,
|
signature_text = os.popen('%s %s %s'%(sign_executable_path,
|
||||||
executable_path,code_sign_key)).read()
|
executable_path,code_sign_key)).read()
|
||||||
|
if not signature_text:
|
||||||
|
raise SystemExit("Couldn't sign executable %s"%executable_path)
|
||||||
|
return signature_text
|
||||||
|
|
||||||
def process_executable_file(file, signature_text=None):
|
def process_executable_file(file, signature_text=None):
|
||||||
'''Handle a new executable file to be added to the database.
|
'''Handle a new executable file to be added to the database.
|
||||||
|
|
Loading…
Reference in New Issue