Skip to content

Commit

Permalink
Find tools in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Mar 23, 2015
1 parent 7059887 commit d56dea4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/FakeLib/ProcessHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ let appSettings (key : string) (fallbackValue : string) =
/// [omit]
let tryFindPath settingsName fallbackValue tool =
let paths = appSettings settingsName fallbackValue
tryFindFile paths tool
match tryFindFile paths tool with
| Some path -> Some path
| None -> tryFindFileOnPath tool

/// Tries to find the tool via AppSettings. If no path has the right tool we are trying the PATH system variable.
/// [omit]
Expand Down

0 comments on commit d56dea4

Please sign in to comment.