Skip to content

Commit

Permalink
Use lua mirror site as backup to download sources
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Dec 9, 2023
1 parent 0c003e9 commit 6384b7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion travis/install-lua.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

set -euxo pipefail

Expand All @@ -19,6 +19,9 @@ if [[ "$TARGET_OS" == "windows" ]]; then
else
cd /tmp
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.3.5.tar.gz
if [ -s lua-5.3.5.tar.gz ]; then
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.tecgraf.puc-rio.br/lua/mirror/ftp/lua-5.3.5.tar.gz
fi
tar xf lua-5.3.5.tar.gz
cd lua-5.3.5
if [[ -n ${LUA_APICHECK:-""} ]]; then
Expand Down

0 comments on commit 6384b7a

Please sign in to comment.