aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index e502860..7ce26d3 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1648,7 +1648,7 @@ local function lpm_lite_xl_list()
end
local function is_argument_repo(arg)
- return arg:find("^http") or arg:find("[%.\\/]")
+ return arg:find("^http") or arg:find("[\\/]") or arg == "."
end
local function lpm_lite_xl_run(version, ...)