Skip to content

Commit

Permalink
(build) fix windows powershell path
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Mar 25, 2016
1 parent d677d40 commit 484b9b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .build/default.build.settings
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@
<property name="run.nuget" value="${directory::exists(dirs.nuget) and file::exists(app.nuget)}" overwrite="false" />

<property name="app.ruby" value="ruby" overwrite="false" />
<property name="app.powershell" value="%WINDIR%${path.separator}System32${path.separator}WindowsPowerShell${path.separator}v1.0${path.separator}powershell.exe" overwrite="false" />
<property name="windows.dir" value="" />
<property name="windows.dir" value="${environment::get-variable('SystemRoot')}" if="${environment::variable-exists('SystemRoot')}" />
<property name="app.powershell" value="${windows.dir}${path.separator}System32${path.separator}WindowsPowerShell${path.separator}v1.0${path.separator}powershell.exe" overwrite="false" />

<target name="load_uppercut_assemblies">
<loadtasks assembly="${path.uppercut.assembly}" if="${file::exists(path.uppercut.assembly)}" />
Expand Down

0 comments on commit 484b9b5

Please sign in to comment.