fix(build-system): Install docker binary when on macOS (#2775)

pull/2780/head
William 6 years ago committed by Anthony Lapenna
parent dbab524e5d
commit 3b8f982dbd

@ -305,7 +305,7 @@ function shell_downloadDockerBinary(p, a) {
var ip = ((ps[p] === undefined) ? p : ps[p]); var ip = ((ps[p] === undefined) ? p : ps[p]);
var ia = ((as[a] === undefined) ? a : as[a]); var ia = ((as[a] === undefined) ? a : as[a]);
var binaryVersion = ((p === 'windows' ? '<%= shippedDockerVersionWindows %>' : '<%= shippedDockerVersion %>')); var binaryVersion = ((p === 'windows' ? '<%= shippedDockerVersionWindows %>' : '<%= shippedDockerVersion %>'));
if (p === 'linux') { if (p === 'linux' || p === 'mac') {
return [ return [
'if [ -f dist/docker ]; then', 'if [ -f dist/docker ]; then',
'echo "Docker binary exists";', 'echo "Docker binary exists";',

Loading…
Cancel
Save