From: Tobias Ulmer Date: Fri, 18 Jan 2013 17:19:59 +0000 (+0100) Subject: remove unused skip_checkout variable X-Git-Tag: e2factory-2.3.13rc1~52 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=24dea3f5f86d2210e05b5f828cf64b23cec94ed4;p=e2factory.git remove unused skip_checkout variable Signed-off-by: Tobias Ulmer --- diff --git a/global/e2-install-e2.lua b/global/e2-install-e2.lua index f9d041a..77f622c 100644 --- a/global/e2-install-e2.lua +++ b/global/e2-install-e2.lua @@ -144,10 +144,9 @@ end local server = config.site.e2_server local location = config.site.e2_location local destdir = "e2" -local skip_checkout = false e2lib.logf(2, "fetching e2factory (ref %s)", ref) rc, re = generic_git.git_clone_from_server(scache, server, location, -destdir, skip_checkout) + destdir, false) if not rc then e2lib.abort(e:cat(re)) end @@ -176,13 +175,12 @@ for _,ex in ipairs(extensions) do local server = config.site.e2_server local location = string.format("%s/%s.git", config.site.e2_base, ex.name) local destdir = ex.name - local skip_checkout = false rc, re = e2lib.rm(destdir, "-fr") if not rc then e2lib.abort(e:cat(re)) end rc, re = generic_git.git_clone_from_server(scache, server, location, - destdir, skip_checkout) + destdir, false) if not rc then e2lib.abort(e:cat(re)) end