Added missing self check
This commit is contained in:
parent
2c68f7af8f
commit
78e5a8b6e1
@ -321,8 +321,8 @@
|
||||
end
|
||||
|
||||
-- If this is something I can link against, pull out the requested part
|
||||
|
||||
if item then
|
||||
-- dont link against my self
|
||||
if item and item ~= cfg then
|
||||
if part == "directory" then
|
||||
item = path.getdirectory(item)
|
||||
if item == "." then
|
||||
|
Reference in New Issue
Block a user