]> git.e2factory.org Git - e2factory.git/commitdiff
remove unused skip_checkout variable
authorTobias Ulmer <tu@emlix.com>
Fri, 18 Jan 2013 17:19:59 +0000 (18:19 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 26 Feb 2013 18:07:13 +0000 (19:07 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
global/e2-install-e2.lua

index f9d041a155d66437993c680359c1921b3a353a68..77f622c77cfd4fafb2f774656ae3def0784167fe 100644 (file)
@@ -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