From f520a25b812d487bc2bd7174a972b58e368fd0fc Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 10 Jul 2012 15:30:59 +0200 Subject: [PATCH] Quote paths in e2-install-e2 Signed-off-by: Tobias Ulmer --- global/e2-fetch-project.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) -- 2.39.5