summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2015-09-18 20:08:39 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2015-09-20 23:57:45 (GMT)
commit803ed16c8f6f531c859b7fe8966946858d2fc3d1 (patch)
tree3d67f460ebd4306716a14e88ce58ea4dc2a021f4 /tools
parentb5311afb506543565ed9db7f316382199599011a (diff)
downloadmxe-803ed16c8f6f531c859b7fe8966946858d2fc3d1.zip
mxe-803ed16c8f6f531c859b7fe8966946858d2fc3d1.tar.gz
mxe-803ed16c8f6f531c859b7fe8966946858d2fc3d1.tar.bz2
build-pkg: pre-download all packages
Run `make download -j 6 -k` until it downloads all packages successfully before running further steps. close #855
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build-pkg.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua
index 0039846..bea2e45 100755
--- a/tools/build-pkg.lua
+++ b/tools/build-pkg.lua
@@ -623,6 +623,8 @@ end
assert(trim(shell('pwd')) == MXE_DIR,
"Clone MXE to " .. MXE_DIR)
+while not testCommand('make download -j 6 -k') do
+end
gitInit()
local file2pkg = {}
for _, t in ipairs(TARGETS) do