]> git.e2factory.org Git - e2factory.git/commitdiff
e2-fetch-project: Remove shell quoting
authorTobias Ulmer <tu@emlix.com>
Tue, 19 Nov 2013 18:57:36 +0000 (19:57 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
global/e2-fetch-project.lua

index 8a3f3901fc55ee0774e97b50acfb02da83488c51..cf5496bb75c3bf5dac62d40745e0ef1040858563 100644 (file)
@@ -218,8 +218,8 @@ local function e2_fetch_project(arg)
     end
 
     -- call e2-install-e2
-    local e2_install_e2 = string.format("%s %s", e2lib.shquote(buildconfig.LUA),
-        e2lib.shquote(e2lib.join(buildconfig.TOOLDIR, "e2-install-e2")))
+    local e2_install_e2 =
+        { buildconfig.LUA, e2lib.join(buildconfig.TOOLDIR, "e2-install-e2") }
     rc, re = e2lib.callcmd_log(e2_install_e2)
     if not rc or rc ~= 0 then
         local e = err.new("installing local e2 failed")