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

Commit 2bc639c

Browse files
obonessavornicesei
authored andcommitted
ProgramFiles is not available under Linux, nor is NSIS compiler
1 parent 7c1ec6f commit 2bc639c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccnet.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<property name="gendarme.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'Gendarme'), 'gendarme.exe')}" />
3232
<property name="ndepend.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'NDepend'), 'NDepend.Console.exe')}" />
3333
<property name="fxcop.executable" readonly="true" value="${path::combine( path::combine(tools.dir, 'FxCop'), 'FxCopCmd.exe')}" />
34-
<property name="nsis.executable" readonly="true" value="${path::combine( path::combine(environment::get-variable('ProgramFiles(x86)'), 'NSIS'), 'makensis.exe')}" />
34+
<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)')}" />
3535
<!-- If NUGET_EXE env. variable does not exist, fallback to the one provided by Cake -->
3636
<property name="nuget.executable" value="${environment::get-variable('NUGET_EXE')}" if="${environment::variable-exists('NUGET_EXE')}" />
3737
<property name="nuget.executable" value="${path::combine( path::combine(tools.dir, 'Cake'), 'nuget.exe')}" if="${not environment::variable-exists('NUGET_EXE')}" />

0 commit comments

Comments
 (0)