Skip to content

Commit

Permalink
Merge pull request #4959 from githubsqltoolsse/bugfix-Install-DbaMain…
Browse files Browse the repository at this point in the history
…tenanceSollution#4950

Update Install-DbaMaintenanceSolution.ps1 #4950
  • Loading branch information
potatoqualitee authored Jan 16, 2019
2 parents c935a04 + b3bb046 commit 1854348
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 1854348

Please sign in to comment.