aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/host/genversion.lua6
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
8local FILE_ROLLING_H = "luajit_rolling.h" 8local FILE_ROLLING_H = arg[1] or "luajit_rolling.h"
9local FILE_RELVER_TXT = "luajit_relver.txt" 9local FILE_RELVER_TXT = arg[2] or "luajit_relver.txt"
10local FILE_LUAJIT_H = "luajit.h" 10local FILE_LUAJIT_H = arg[3] or "luajit.h"
11 11
12local function file_read(file) 12local 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")