From e030308a82091f75efd9d79558978f79c1b655fb Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 19 Nov 2013 19:59:18 +0100 Subject: [PATCH] e2-install-e2: Remove shell quoting Signed-off-by: Tobias Ulmer --- global/e2-install-e2.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/global/e2-install-e2.lua b/global/e2-install-e2.lua index 8841fcc..e3d0e9d 100644 --- a/global/e2-install-e2.lua +++ b/global/e2-install-e2.lua @@ -218,8 +218,14 @@ local function e2_install_e2(arg) if not rc then return false, e:cat(re) end - local cmd = string.format("make PREFIX=%s BINDIR=%s local install-local", - e2lib.shquote(buildconfig.PREFIX), e2lib.shquote(buildconfig.BINDIR)) + local cmd = { + "make", + "PREFIX="..buildconfig.PREFIX, + "BINDIR="..buildconfig.BINDIR, + "local", + "install-local", + } + rc, re = e2lib.callcmd_log(cmd) if not rc or rc ~= 0 then return false, e:cat(re) -- 2.39.5