diff options
author | Jonathan Goble <jcgoble3@gmail.com> | 2016-01-22 03:17:34 -0500 |
---|---|---|
committer | Jonathan Goble <jcgoble3@gmail.com> | 2016-01-22 03:25:06 -0500 |
commit | 6f52c02e33e37078d595eb03b29332e6aaf0dce9 (patch) | |
tree | 0e13faca91895e0f7d0d8135674ecb1ed700d978 /test | |
parent | d725a42e2efd2df34dc21cc1a8bb087241064268 (diff) | |
download | luarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.tar.gz luarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.tar.bz2 luarocks-6f52c02e33e37078d595eb03b29332e6aaf0dce9.zip |
Update repo URLs to luarocks.org instead of rocks.moonscript.org
Previously, this used an old URL and downloaded over HTTP, in cleartext. This commit updates to the URL that the old one redirects to, and changes to HTTPS encryption for security. HTTPS is currently impossible on rocks.moonscript.org because the security certificate for that domain expired in May 2015.
Diffstat (limited to 'test')
-rw-r--r-- | test/testing.bat | 2 | ||||
-rwxr-xr-x | test/testing.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/testing.bat b/test/testing.bat index 319e12c3..7083678b 100644 --- a/test/testing.bat +++ b/test/testing.bat | |||
@@ -1,7 +1,7 @@ | |||
1 | @echo off | 1 | @echo off |
2 | Setlocal EnableDelayedExpansion EnableExtensions | 2 | Setlocal EnableDelayedExpansion EnableExtensions |
3 | 3 | ||
4 | if not defined LUAROCKS_REPO set LUAROCKS_REPO=http://rocks.moonscript.org | 4 | if not defined LUAROCKS_REPO set LUAROCKS_REPO=https://luarocks.org |
5 | 5 | ||
6 | appveyor DownloadFile %LUAROCKS_REPO%/stdlib-41.0.0-1.src.rock | 6 | appveyor DownloadFile %LUAROCKS_REPO%/stdlib-41.0.0-1.src.rock |
7 | luarocks build stdlib | 7 | luarocks build stdlib |
diff --git a/test/testing.sh b/test/testing.sh index dc7912bf..44e78205 100755 --- a/test/testing.sh +++ b/test/testing.sh | |||
@@ -225,7 +225,7 @@ luarocks_admin_nocov="run_lua --nocov luarocks-admin" | |||
225 | mkdir -p "$testing_server" | 225 | mkdir -p "$testing_server" |
226 | ( | 226 | ( |
227 | cd "$testing_server" | 227 | cd "$testing_server" |
228 | luarocks_repo="http://rocks.moonscript.org" | 228 | luarocks_repo="https://luarocks.org" |
229 | get() { [ -e `basename "$1"` ] || wget -c "$1"; } | 229 | get() { [ -e `basename "$1"` ] || wget -c "$1"; } |
230 | get "$luarocks_repo/luacov-${verrev_luacov}.src.rock" | 230 | get "$luarocks_repo/luacov-${verrev_luacov}.src.rock" |
231 | get "$luarocks_repo/luacov-${verrev_luacov}.rockspec" | 231 | get "$luarocks_repo/luacov-${verrev_luacov}.rockspec" |