Permalink
Browse files

Update install.ps1 to wrap profile path in quotes for locations with …

…spaces. Closes #13
  • Loading branch information...
dahlbyk committed Jun 6, 2011
1 parent ad7b770 commit 6df2333bcec4c2f4e18968481e25f0dc4697f68b
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.ps1
View
@@ -36,7 +36,7 @@ function Get-FileEncoding($Path) {
}
}
-$profileLine = ". $installDir\profile.example.ps1"
+$profileLine = ". '$installDir\profile.example.ps1'"
if(Select-String -Path $PROFILE -Pattern $profileLine -Quiet -SimpleMatch) {
Write-Host "It seems posh-git is already installed..."
return

0 comments on commit 6df2333

Please sign in to comment.