Skip to content

Commit

Permalink
Correct path to local migrate.exe (#6160)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmuehsig authored and chenriksson committed Jul 18, 2018
1 parent 941861a commit 0dbd876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Update-Databases.ps1
Expand Up @@ -5,7 +5,7 @@ param(

function Initialize-MigrateExe() {
[string] $migrateDirectory = [System.IO.Path]::Combine($PSScriptRoot, '__temp_migrate_directory_' + [guid]::NewGuid().ToString("N") )
[string] $efDirectory = [System.IO.Path]::Combine($PSScriptRoot, "${env:userprofile}\.nuget\packages\EntityFramework\6.1.3")
[string] $efDirectory = "$env:userprofile\.nuget\packages\EntityFramework\6.1.3"
[string] $migrate = ([System.IO.Path]::Combine($migrateDirectory, 'migrate.exe'))

if (-not (New-Item -ItemType Directory -Path $migrateDirectory -Force).Exists) {
Expand Down

0 comments on commit 0dbd876

Please sign in to comment.