Skip to content

Commit 2bb8ad8

Browse files
committed
Fix untar of xz files on linux
1 parent a5b093b commit 2bb8ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-mlir.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function download({ pkg, version, outdir = "." }) {
4040
// unpack
4141
if (!(await zx.fs.exists(zx.path.join(outdir, pkg)))) {
4242
await zx.fs.mkdir(zx.path.join(outdir, pkg), { recursive: true });
43-
await $`tar jxf ${outdir}/${fileName} -C ${outdir}/${pkg} --strip-components=1`.quiet();
43+
await $`tar xf ${outdir}/${fileName} -C ${outdir}/${pkg} --strip-components=1`.quiet();
4444
}
4545
}
4646

0 commit comments

Comments
 (0)