Skip to content

Commit 4396ad4

Browse files
cknittcristianoc
authored andcommitted
Do not use tar option "v" when extracting sources
1 parent c07aa8a commit 4396ad4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/buildocaml.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ exports.checkEnvCompiler = checkEnvCompiler;
3232
*/
3333
function ensureOCamlExistsSync() {
3434
if (!fs.existsSync(ocamlVersionFilePath)) {
35-
cp.execSync(`tar xzvf ../vendor/ocaml.tar.gz`, {
35+
console.log("Extracting OCaml sources...");
36+
cp.execSync(`tar xzf ../vendor/ocaml.tar.gz`, {
3637
cwd: ocamlSrcDir,
3738
stdio: [0, 1, 2],
3839
});

scripts/install.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function provideNinja() {
4747
console.log(`building ninja`);
4848
ensureExists(ninja_source_dir);
4949
if (fs.existsSync(path.join(root_dir, "vendor", "ninja.tar.gz"))) {
50-
child_process.execSync(`tar xzvf ../ninja.tar.gz`, {
50+
console.log("Extracting ninja sources...");
51+
child_process.execSync(`tar xzf ../ninja.tar.gz`, {
5152
cwd: ninja_source_dir,
5253
stdio: [0, 1, 2],
5354
});

0 commit comments

Comments
 (0)