Permalink
Browse files

turkish i problem fix

  • Loading branch information...
1 parent 83c44db commit 3a93504e04e2258798ecbd75ad4b014022a0e610 @yadazula yadazula committed with Jul 8, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 psake.ps1
View
5 psake.ps1
@@ -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 3a93504

Please sign in to comment.