From 746f1092a1ba6e71c8912f90367b4c9ccd141651 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Thu, 26 Nov 2015 14:25:33 +0300 Subject: [PATCH] Add default git repo for PUC-Rio Lua Allows doing stuff like `hererocks here -l @5.3.2-rc1` to get unstable versions of Lua. --- hererocks.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hererocks.py b/hererocks.py index 81113f8..6498be3 100755 --- a/hererocks.py +++ b/hererocks.py @@ -88,7 +88,7 @@ lua_versions = ([ "5.2": "5.2.4", "5.3": "5.3.1", "^": "5.3.1" -}, "http://www.lua.org/ftp", "lua", None) +}, "http://www.lua.org/ftp", "lua", "https://github.com/lua/lua") luajit_versions = ([ "2.0.0", "2.0.1", "2.0.2", "2.0.3", "2.0.4" @@ -194,9 +194,6 @@ def fetch(versions, version, temp_dir, targz=True): return result_dir, [name, version] if version.startswith("@"): - if not repo: - sys.exit("Error: no default git repo for standard Lua ") - ref = version[1:] or "master" elif "@" in version: repo, _, ref = version.partition("@")