Skip to content

Commit

Permalink
(chocolateyGH-501) sudo fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Mar 25, 2016
1 parent 593db2b commit 201a866
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .build.custom/codeSign.step
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<echo level="Warning" message="Signing the assemblies and powershell files if the system is set up correctly." />
</target>

<target name="get_password">
<target name="get_password" if="${property::exists('path.code.cert.password')}">
<loadfile file="${path.code.cert.password}" property="code.cert.password" if="${file::exists(path.code.cert.password)}" />
<property name="code.cert.password" value="${string::trim(code.cert.password)}" />
</target>
Expand Down
2 changes: 0 additions & 2 deletions .uppercut
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@

<property name="app.signtool" value="C:${path.separator}Program Files${path.separator}Microsoft SDKs${path.separator}Windows${path.separator}v7.0A${path.separator}Bin${path.separator}signtool.exe" />
<property name="app.signtool" value="C:${path.separator}Program Files (x86)${path.separator}Microsoft SDKs${path.separator}Windows${path.separator}v7.0A${path.separator}Bin${path.separator}signtool.exe" if="${not file::exists(app.signtool)}" />
<property name="path.code.cert" value="" />
<property name="path.code.cert" value="${environment::get-variable('CHOCOLATEY_OFFICIAL_CERT')}" if="${environment::variable-exists('CHOCOLATEY_OFFICIAL_CERT')}" />
<property name="path.code.cert.password" value="" />
<property name="path.code.cert.password" value="${environment::get-variable('CHOCOLATEY_OFFICIAL_CERT_PASSWORD')}" if="${environment::variable-exists('CHOCOLATEY_OFFICIAL_CERT_PASSWORD')}" />
<property name="code.cert.timestampserver" value="http://timestamp.digicert.com" />
<!-- When Windows 2003 is no longer supported, switch to SHA256 -->
Expand Down

0 comments on commit 201a866

Please sign in to comment.