Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Commit

Permalink
ProgramFiles is not available under Linux, nor is NSIS compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
obones authored and savornicesei committed Jan 15, 2021
1 parent 7c1ec6f commit 2bc639c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccnet.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<property name="gendarme.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'Gendarme'), 'gendarme.exe')}" />
<property name="ndepend.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'NDepend'), 'NDepend.Console.exe')}" />
<property name="fxcop.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'FxCop'), 'FxCopCmd.exe')}" />
<property name="nsis.executable" readonly="true" value="${path::combine( path::combine(environment::get-variable('ProgramFiles(x86)'), 'NSIS'), 'makensis.exe')}" />
<property name="nsis.executable" readonly="true" value="${path::combine( path::combine(environment::get-variable('ProgramFiles(x86)'), 'NSIS'), 'makensis.exe')}" if="${environment::variable-exists('ProgramFiles(x86)')}" />
<!-- If NUGET_EXE env. variable does not exist, fallback to the one provided by Cake -->
<property name="nuget.executable" value="${environment::get-variable('NUGET_EXE')}" if="${environment::variable-exists('NUGET_EXE')}" />
<property name="nuget.executable" value="${path::combine( path::combine(tools.dir, 'Cake'), 'nuget.exe')}" if="${not environment::variable-exists('NUGET_EXE')}" />
Expand Down

0 comments on commit 2bc639c

Please sign in to comment.