fix new.lua

pull/2374/head
ruki 1 year ago
parent 08c475861a
commit ab1a2567c3
  1. 2
      scripts/new.lua

@ -115,7 +115,7 @@ function generate_package(reponame, get_data)
archive.extract(tmpfile, repodir)
os.rm(tmpfile)
else
local giturl = string.format("git@%s:%s.git", host, reponame)
local giturl = string.format("https://%s/%s.git", host, reponame)
repodir = os.tmpfile({ ramdisk = false })
file:print(' add_urls("%s")', giturl)

Loading…
Cancel
Save