Skip to content

Commit

Permalink
Merge pull request #706 from bbenoist/bugfix/system-directory
Browse files Browse the repository at this point in the history
Use Environment.SystemDirectory to retrieve the system's root directory
  • Loading branch information
forki committed Mar 24, 2015
2 parents 1484d4f + 5d1e93e commit e0045f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FakeLib/EnvironmentHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ let ProgramFilesX86 =
|> fun detected -> if detected = null then @"C:\Program Files (x86)\" else detected

/// The system root environment variable. Typically "C:\Windows"
let SystemRoot = environVar "SystemRoot"
let SystemRoot = Environment.SystemDirectory

/// Determines if the current system is an Unix system
let isUnix = Environment.OSVersion.Platform = PlatformID.Unix
Expand Down

0 comments on commit e0045f3

Please sign in to comment.