Permalink
Browse files

turkish i problem fix

  • Loading branch information...
1 parent 0d87ff3 commit c0ed77d25509a8bf5b99a793679864f1fdf917d4 @yadazula yadazula committed Jul 8, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 psake.ps1
View
@@ -28,6 +28,11 @@ param(
[string]$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.path)
)
+$currentThread = [System.Threading.Thread]::CurrentThread
+$invariantCulture = [System.Globalization.CultureInfo]::InvariantCulture
+$currentThread.CurrentCulture = $invariantCulture
+$currentThread.CurrentUICulture = $invariantCulture
+
# '[p]sake' is the same as 'psake' but $Error is not polluted
remove-module [p]sake
import-module (join-path $scriptPath psake.psm1)

0 comments on commit c0ed77d

Please sign in to comment.