We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5a7fb commit 57f0501Copy full SHA for 57f0501
build.ps1
@@ -377,13 +377,12 @@ if (!$SkipBuild) {
377
}
378
379
380
- # skip copying WindowsPowerShell resource on non-Windows
381
- if (!$IsWindows) {
382
- Copy-Item "*.dsc.resource.json" $target -Exclude 'windowspowershell.dsc.resource.json' -Force -ErrorAction Ignore
383
- }
384
- else {
+ if ($IsWindows) {
385
Copy-Item "*.dsc.resource.json" $target -Force -ErrorAction Ignore
386
+ else { # don't copy WindowsPowerShell resource maisource manifest
+ Copy-Item "*.dsc.resource.json" $target -Exclude 'windowspowershell.dsc.resource.json' -Force -ErrorAction Ignore
+ }
387
388
# be sure that the files that should be executable are executable
389
if ($IsLinux -or $IsMacOS) {
0 commit comments