*** empty log message ***

svn path=/trunk/boinc/; revision=2278
This commit is contained in:
Karl Chen 2003-09-05 23:51:11 +00:00
parent afbd48676e
commit b6be970492
1 changed files with 5 additions and 2 deletions

View File

@ -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.