From 21708763d7e275ea33d73d1cfd06ceb08e465507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=C2=A0Lordahl?= Date: Thu, 11 May 2017 11:56:02 -0400 Subject: [PATCH] Add AclBuilder to all ProcessDirectory invocations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Lordahl --- Functions/Private/Artifacts/IIS/Generate_IIS.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Functions/Private/Artifacts/IIS/Generate_IIS.ps1 b/Functions/Private/Artifacts/IIS/Generate_IIS.ps1 index b894c69..8c6686c 100644 --- a/Functions/Private/Artifacts/IIS/Generate_IIS.ps1 +++ b/Functions/Private/Artifacts/IIS/Generate_IIS.ps1 @@ -162,7 +162,7 @@ if ($Artifact.Status -eq 'Present') { $newApp = " New-WebApplication -Name '$appName' -Site '$($Site.Name)' -PhysicalPath 'C:$targetPath' -Force; ``" $null = $AppBuilder.AppendLine($newApp) if ($sourcePath -ne $mainVirtualDir.PhysicalPath) { - ProcessDirectory -DirectoryBuilder $DirectoryBuilder -CopyBuilder $CopyBuilder -SourcePath $sourcePath + ProcessDirectory -DirectoryBuilder $DirectoryBuilder -CopyBuilder $CopyBuilder -AclBuilder $AclBuilder -SourcePath $sourcePath } } @@ -189,7 +189,7 @@ if ($Artifact.Status -eq 'Present') { $null = $AppBuilder.AppendLine($newDir) if ($sourcePath -ne $mainVirtualDir.PhysicalPath) { - ProcessDirectory -DirectoryBuilder $DirectoryBuilder -CopyBuilder $CopyBuilder -SourcePath $sourcePath + ProcessDirectory -DirectoryBuilder $DirectoryBuilder -CopyBuilder $CopyBuilder -AclBuilder $AclBuilder -SourcePath $sourcePath } } } @@ -217,4 +217,4 @@ if ($Artifact.Status -eq 'Present') { return $ResultBuilder.ToString() -} \ No newline at end of file +}