Skip to content

Commit

Permalink
Update Install-DbaMaintenanceSolution.ps1
Browse files Browse the repository at this point in the history
Fixed path for output directory in Install-DbaMaintenanceSolution dataplat#4950
  • Loading branch information
githubsqltoolsse committed Jan 15, 2019
1 parent 56dc285 commit b3bb046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/Install-DbaMaintenanceSolution.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function Install-DbaMaintenanceSolution {
}

# OutputFileDirectory
if (-not $OutputFileDirectory) {
if ($OutputFileDirectory) {
$findOutputFileDirectory = 'SET @OutputFileDirectory = NULL'
$replaceOutputFileDirectory = 'SET @OutputFileDirectory = N''' + $OutputFileDirectory + ''''
$fileContents[$file] = $fileContents[$file].Replace($findOutputFileDirectory, $replaceOutputFileDirectory)
Expand Down

0 comments on commit b3bb046

Please sign in to comment.