Fix check script

Each command is an array so needs to be an array of arrays
This commit is contained in:
David Baker 2020-02-24 17:50:03 +00:00
parent 2d053cbc49
commit 75df21dfb1

View file

@ -34,7 +34,7 @@ module.exports = async function(hakEnv, moduleInfo) {
});
}
const tools = ['python', '--version']; // node-gyp uses python for reasons beyond comprehension
const tools = [['python', '--version']]; // node-gyp uses python for reasons beyond comprehension
if (hakEnv.isWin()) {
tools.push(['perl', '--version']); // for openssl configure
tools.push(['patch', '--version']); // to patch sqlcipher Makefile.msc