From: Paul Durrant Date: Sat, 28 Sep 2019 12:10:26 +0000 (+0100) Subject: Update for running in EDWK buildenv X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;ds=inline;p=pvdrivers%2Fwin%2Ftools.git Update for running in EDWK buildenv Signed-off-by: Paul Durrant --- diff --git a/sign.py b/sign.py index 9b5b23d..2bcdfc6 100644 --- a/sign.py +++ b/sign.py @@ -26,14 +26,7 @@ def shell(cmd): def signtool(cert, files): - path = [os.environ['KIT'], 'bin'] - if os.environ['PROCESSOR_ARCHITECTURE'] == 'x86': - path.append('x86') - else: - path.append('x64') - path.append('signtool.exe') - - cmd = ['"' + os.path.join(*path) + '"'] + cmd = ['signtool'] cmd.append('sign') cmd.append('/v') cmd.append('/ac')