diff options
-rw-r--r-- | src/host/genversion.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/genversion.lua b/src/host/genversion.lua index 42b5e6fe..5ead4c2b 100644 --- a/src/host/genversion.lua +++ b/src/host/genversion.lua | |||
@@ -5,9 +5,9 @@ | |||
5 | -- Released under the MIT license. See Copyright Notice in luajit.h | 5 | -- Released under the MIT license. See Copyright Notice in luajit.h |
6 | ---------------------------------------------------------------------------- | 6 | ---------------------------------------------------------------------------- |
7 | 7 | ||
8 | local FILE_ROLLING_H = "luajit_rolling.h" | 8 | local FILE_ROLLING_H = arg[1] or "luajit_rolling.h" |
9 | local FILE_RELVER_TXT = "luajit_relver.txt" | 9 | local FILE_RELVER_TXT = arg[2] or "luajit_relver.txt" |
10 | local FILE_LUAJIT_H = "luajit.h" | 10 | local FILE_LUAJIT_H = arg[3] or "luajit.h" |
11 | 11 | ||
12 | local function file_read(file) | 12 | local function file_read(file) |
13 | local fp = assert(io.open(file, "rb"), "run from the wrong directory") | 13 | local fp = assert(io.open(file, "rb"), "run from the wrong directory") |