|
@@ -195,7 +195,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|
|
Condition="'$(IsPackable)' == 'true'">
|
|
Condition="'$(IsPackable)' == 'true'">
|
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
|
<_TarCommand>tar</_TarCommand>
|
|
<_TarCommand>tar</_TarCommand>
|
|
|
- <_TarCommand Condition="Exists('$(RepoRoot).tools\tar.exe')">$(RepoRoot).tools\tar.exe</_TarCommand>
|
|
|
|
|
|
|
+ <_TarCommand Condition="Exists('$(RepoRoot).tools\tar.exe')">"$(RepoRoot).tools\tar.exe"</_TarCommand>
|
|
|
|
|
|
|
|
<!-- For the tar packed with git, transform e.g. "C:\root\AspNetCore\File.tar.gz" to "/C/root/AspNetCore/File.tar.gz". -->
|
|
<!-- For the tar packed with git, transform e.g. "C:\root\AspNetCore\File.tar.gz" to "/C/root/AspNetCore/File.tar.gz". -->
|
|
|
<_TarArchiveOutputPath>$(TarArchiveOutputPath)</_TarArchiveOutputPath>
|
|
<_TarArchiveOutputPath>$(TarArchiveOutputPath)</_TarArchiveOutputPath>
|
|
@@ -209,8 +209,8 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|
|
Overwrite="true" />
|
|
Overwrite="true" />
|
|
|
|
|
|
|
|
<!-- Requires Windows 10 version 1803 or newer -->
|
|
<!-- Requires Windows 10 version 1803 or newer -->
|
|
|
- <Message Importance="High" Text="Executing: $(_TarCommand) -czf $(_TarArchiveOutputPath) ." />
|
|
|
|
|
- <Exec Command="$(_TarCommand) -czf $(_TarArchiveOutputPath) ."
|
|
|
|
|
|
|
+ <Message Importance="High" Text="Executing: $(_TarCommand) -czf "$(_TarArchiveOutputPath)" ." />
|
|
|
|
|
+ <Exec Command="$(_TarCommand) -czf "$(_TarArchiveOutputPath)" ."
|
|
|
WorkingDirectory="$(TargetingPackLayoutRoot)" />
|
|
WorkingDirectory="$(TargetingPackLayoutRoot)" />
|
|
|
|
|
|
|
|
<Message Importance="High" Text="$(MSBuildProjectName) -> $(TarArchiveOutputPath)" />
|
|
<Message Importance="High" Text="$(MSBuildProjectName) -> $(TarArchiveOutputPath)" />
|