From: Tobias Ulmer Date: Tue, 10 Jul 2012 12:55:22 +0000 (+0200) Subject: In e2-install-e2, quote install_prefix X-Git-Tag: e2factory-2.3.12rc1~26 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=0e746efcda8f77f618ef677a98eade5b93f43e19;p=e2factory.git In e2-install-e2, quote install_prefix Signed-off-by: Tobias Ulmer --- diff --git a/global/e2-install-e2.lua.in b/global/e2-install-e2.lua.in index 8afa30e..154720a 100755 --- a/global/e2-install-e2.lua.in +++ b/global/e2-install-e2.lua.in @@ -199,8 +199,8 @@ rc, re = e2lib.chdir(root .. "/.e2/e2") if not rc then e2lib.abort(e:cat(re)) end -local cmd = string.format("make PREFIX='%s' local install-local", - install_prefix) +local cmd = string.format("make PREFIX=%s local install-local", + e2lib.shquote(install_prefix)) rc, re = e2lib.callcmd_capture(cmd) if rc ~= 0 then e2lib.abort(e:cat(re))