Skip to content

Commit f7a437b

Browse files
committed
scripts: use /bin/sh to run build_libzmq.sh
* To address review feedback.
1 parent 2cf84a8 commit f7a437b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/prepare.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ if (process.env.npm_config_zmq_external == "true") {
1414

1515
function buildZMQ(scriptPath, zmqDir) {
1616
console.log("Building libzmq for " + process.platform);
17-
const child = spawnSync(scriptPath, [ZMQ, ARCH], {
18-
shell: true,
17+
const child = spawnSync("/bin/sh", [scriptPath, ZMQ, ARCH], {
1918
stdio: ['inherit', 'inherit', 'inherit'],
2019
});
2120
if (!child.status) {

0 commit comments

Comments
 (0)