]> git.e2factory.org Git - e2factory.git/commitdiff
In e2-install-e2, quote install_prefix
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 12:55:22 +0000 (14:55 +0200)
committerTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 12:55:40 +0000 (14:55 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
global/e2-install-e2.lua.in

index 8afa30e97a28cd40c0d7eca294e1e51bd87a6a2b..154720a6e5bc3938229513e47a6b4a4999cce3ca 100755 (executable)
@@ -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))