From 161a76de46e4b1c49b075393ed5d7c807426bdc0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 17 Feb 2020 15:59:55 +0000 Subject: [PATCH] of course nmake is special too --- hak/matrix-seshat/check.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hak/matrix-seshat/check.js b/hak/matrix-seshat/check.js index c5ca259..ff88ed1 100644 --- a/hak/matrix-seshat/check.js +++ b/hak/matrix-seshat/check.js @@ -34,15 +34,15 @@ module.exports = async function(hakEnv, moduleInfo) { const tools = []; if (hakEnv.isWin()) { - tools.push('perl'); // for openssl configure - tools.push('nmake'); + tools.push(['perl', '--version']); // for openssl configure + tools.push(['nmake', '/?']); } else { - tools.push('make'); + tools.push(['make', '--version']); } for (const tool of tools) { await new Promise((resolve, reject) => { - const proc = childProcess.spawn(tool, ['--version'], { + const proc = childProcess.spawn(tool[0], tool.slice(1), { stdio: ['ignore'], }); proc.on('exit', (code) => {