Skip to content

Commit d7858d7

Browse files
authored
Fix tarball extraction when using wildcards (#15695) (#15729)
1 parent 39ee054 commit d7858d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/SourceBuiltArtifactsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ public void VerifyVersionFile()
6363

6464
private void ExtractFileFromTarball(string tarballPath, string filePath, string outputDir)
6565
{
66-
ExecuteHelper.ExecuteProcessValidateExitCode("tar", $"xzf {tarballPath} -C {outputDir} {filePath}", OutputHelper);
66+
ExecuteHelper.ExecuteProcessValidateExitCode("tar", $"--wildcards -xzf {tarballPath} -C {outputDir} {filePath}", OutputHelper);
6767
}
6868
}

0 commit comments

Comments
 (0)