diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-26 13:00:15 +0200 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-26 13:00:15 +0200 |
commit | a988293d48ea993327cec75111514424bfcc2c0a (patch) | |
tree | 2c7367cefc3fac38d3818346014493deceea0939 /install.bat | |
parent | 4a3c08701e463aa811b40fe61607d246209c5688 (diff) | |
download | luarocks-a988293d48ea993327cec75111514424bfcc2c0a.tar.gz luarocks-a988293d48ea993327cec75111514424bfcc2c0a.tar.bz2 luarocks-a988293d48ea993327cec75111514424bfcc2c0a.zip |
update installer to work on Lua 5.2
Diffstat (limited to 'install.bat')
-rw-r--r-- | install.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat index abf680a4..c640fa9a 100644 --- a/install.bat +++ b/install.bat | |||
@@ -40,7 +40,7 @@ end | |||
40 | local function exec(cmd) | 40 | local function exec(cmd) |
41 | --print(cmd) | 41 | --print(cmd) |
42 | local status = os.execute(cmd) | 42 | local status = os.execute(cmd) |
43 | return status == 0 | 43 | return (status == 0 or status == true) -- compat 5.1/5.2 |
44 | end | 44 | end |
45 | 45 | ||
46 | local function exists(filename) | 46 | local function exists(filename) |