From: Tobias Ulmer Date: Tue, 10 Jul 2012 13:30:59 +0000 (+0200) Subject: Quote paths in e2-install-e2 X-Git-Tag: e2factory-2.3.12rc1~16 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=f520a25b812d487bc2bd7174a972b58e368fd0fc;p=e2factory.git Quote paths in e2-install-e2 Signed-off-by: Tobias Ulmer --- diff --git a/global/e2-fetch-project.lua.in b/global/e2-fetch-project.lua.in index 91cde33..e9c6e69 100755 --- a/global/e2-fetch-project.lua.in +++ b/global/e2-fetch-project.lua.in @@ -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"))