We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 229831c commit 8fa517fCopy full SHA for 8fa517f
compile/luajit/make.lua
@@ -145,7 +145,7 @@ lm:executable("luajit/lua") {
145
"lj_*.c",
146
"lib_*.c",
147
"!lj_str_hash.c",
148
- "../../../../" .. lm.bindir .. "/lj_vm.obj",
+ lm.bindir .. "/lj_vm.obj",
149
},
150
includes = {
151
".",
extension/script/debugger.lua
@@ -1,4 +1,13 @@
1
local selfsource = ...
2
+
3
+if not selfsource then
4
+ local source = debug.getinfo(1, "S").source
5
+ if source:sub(1, 1) == "@" then
6
+ local filepath = source:sub(2)
7
+ selfsource = filepath
8
+ end
9
+end
10
11
local root = selfsource
12
:match "(.+)[/][^/]+$"
13
0 commit comments