aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index c692b0c..55ff025 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1650,7 +1650,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, ...)