]> git.e2factory.org Git - e2factory.git/commitdiff
Quote paths in e2-install-e2
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 13:30:59 +0000 (15:30 +0200)
committerTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 13:30:59 +0000 (15:30 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
global/e2-fetch-project.lua.in

index 91cde33cd1b0a627a5f949cff8426f282bcf0ac6..e9c6e6958767fc7c107f3da2950178c02374fe8c 100755 (executable)
@@ -179,8 +179,8 @@ local rc, re = e2lib.write_file(e2lib.globals.global_interface_version_file,
                                                string.format("%d\n", v))
 
 -- call e2-install-e2
-e2_install_e2 = string.format("'%s' '%s/e2-install-e2'", 
-                       buildconfig.LUA, buildconfig.TOOLDIR)
+e2_install_e2 = string.format("%s %s/e2-install-e2",
+  e2lib.shquote(buildconfig.LUA), e2lib.shquote(buildconfig.TOOLDIR))
 rc, re = e2lib.callcmd_log(e2_install_e2)
 if rc ~= 0 then
        e2lib.abort(new_error("installing local e2 failed"))