File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,12 @@ This package is an internal implementation of the .NET Core SDK and is not meant
173
173
<!-- Work around issues finding the `tar` command on CI machines. -->
174
174
<TarCommand >tar</TarCommand >
175
175
<TarCommand
176
- Condition =" '$(OS)' == 'Windows_NT' AND Exists('$(SystemRoot)\System32\ tar.exe')" >"$(SystemRoot)\System32 \tar.exe"</TarCommand >
176
+ Condition =" Exists('$(MSBuildProgramFiles32)\Git\usr\bin\ tar.exe')" >"$(MSBuildProgramFiles32)\Git\usr\bin \tar.exe"</TarCommand >
177
177
<TarCommand
178
- Condition =" '$(OS)' == 'Windows_NT' AND Exists('$(ProgramFiles)\Git\usr\bin\tar.exe')" >"$(ProgramFiles)\Git\usr\bin\tar.exe"</TarCommand >
178
+ Condition =" Exists('$(ProgramFiles)\Git\usr\bin\tar.exe')" >"$(ProgramFiles)\Git\usr\bin\tar.exe"</TarCommand >
179
179
<TarCommand
180
- Condition =" '$(OS)' == 'Windows_NT' AND Exists('$(MSBuildProgramFiles32)\Git\usr\bin\tar.exe')" >"$(MSBuildProgramFiles32)\Git\usr\bin\tar.exe"</TarCommand >
180
+ Condition =" Exists('$(AGENT_HOMEDIRECTORY)\externals\git\usr\bin\tar.exe')" >"$(AGENT_HOMEDIRECTORY)\externals\git\usr\bin\tar.exe"</TarCommand >
181
+ <TarCommand Condition =" Exists('$(SystemRoot)\System32\tar.exe')" >"$(SystemRoot)\System32\tar.exe"</TarCommand >
181
182
182
183
<!-- For the tar packed with git, transform e.g. "C:\root\AspNetCore\File.tar.gz" to "/C/root/AspNetCore/File.tar.gz". -->
183
184
<_TarArchiveOutputPath >$(TarArchiveOutputPath)</_TarArchiveOutputPath >
You can’t perform that action at this time.
0 commit comments