diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-03-21 14:28:49 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-03-21 14:28:49 -0300 |
| commit | 33eb3546bf94dd88fef3a1646fa02d499b98dca8 (patch) | |
| tree | ab96e1e6706c2243dbbbc6ea14fc537f5e928f6e | |
| parent | 58b7f5d8531e054217bb6d425c04d76f699b6adf (diff) | |
| download | luarocks-33eb3546bf94dd88fef3a1646fa02d499b98dca8.tar.gz luarocks-33eb3546bf94dd88fef3a1646fa02d499b98dca8.tar.bz2 luarocks-33eb3546bf94dd88fef3a1646fa02d499b98dca8.zip | |
Fix regression introduced by demodularization process
| -rw-r--r-- | src/luarocks/persist.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/persist.lua b/src/luarocks/persist.lua index 47afc81c..9d601a43 100644 --- a/src/luarocks/persist.lua +++ b/src/luarocks/persist.lua | |||
| @@ -34,7 +34,7 @@ function persist.load_into_table(filename, tbl) | |||
| 34 | if _VERSION == "Lua 5.1" then -- Lua 5.1 | 34 | if _VERSION == "Lua 5.1" then -- Lua 5.1 |
| 35 | chunk, err = loadfile(filename) | 35 | chunk, err = loadfile(filename) |
| 36 | if chunk then | 36 | if chunk then |
| 37 | persist.setfenv(chunk, result) | 37 | setfenv(chunk, result) |
| 38 | ran, err = pcall(chunk) | 38 | ran, err = pcall(chunk) |
| 39 | end | 39 | end |
| 40 | else -- Lua 5.2 | 40 | else -- Lua 5.2 |
