Skip to content

Commit 18afd7e

Browse files
committed
fixed biuildscript
1 parent d626d4d commit 18afd7e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/CLU/BuildPackage.ps1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ if ([string]::IsNullOrWhiteSpace($env:WORKSPACE) -or !(Test-Path $env:WORKSPACE)
1717
$packageSource = $packageSource.TrimEnd('\\')
1818
Write-Host "using package id: $packageId, package source: $packageSource, packageVersion: $packageVersion"
1919
dotnet publish $cmdletsDir -f dnxcore50 -r win7-x64 -o $packageSource
20-
Copy-Item -Path $cmdletsDir\content -Destination $packageSource\content -Recurse -Force
21-
Copy-Item -Path $cmdletsDir\*xml -Destination $packageSource\content -Force
20+
Write-Host "CMDLETSDIR is .."+$cmdletsDir
21+
Write-Host "packageSource is .."+$packageSource
22+
Copy-Item -Path $cmdletsDir\content -Destination $packageSource\ -Recurse -Force
23+
Copy-Item -Path $cmdletsDir\*xml -Destination $packageSource\ -Force
2224

2325
$nuSpecTemplate = (Get-ChildItem ([System.IO.Path]::Combine($cmdletsDir, ($packageId + ".nuspec.template"))))
2426
$nuSpecOutput = [System.IO.Path]::Combine($packageSource, ($packageId + ".nuspec"))
@@ -35,9 +37,9 @@ if ($packageId -ne "Microsoft.CLU.Commands")
3537
{
3638
$contentFileText += " <file src=""content\*.lx"" target=""content""/>`r`n"
3739
$contentFileText += " <file src=""content\*xml"" target=""content""/>`r`n"
38-
if (Test-Path "$packageSource\content\content\help")
40+
if (Test-Path "$packageSource\content\help")
3941
{
40-
$contentFileText += " <file src=""content\content\help\*hlp"" target=""content\help""/>`r`n"
42+
$contentFileText += " <file src=""content\help\*hlp"" target=""content\help""/>`r`n"
4143
}
4244
}
4345
if ($renameFileExists)

0 commit comments

Comments
 (0)