From 6d85103dbde475bba184ed690c8e7a1e42c3a70d Mon Sep 17 00:00:00 2001 From: Kreato Date: Sat, 12 Aug 2023 07:44:48 +0000 Subject: [PATCH] Commit from GitHub Actions (Format Nim Files) --- kpkg/commands/buildcmd.nim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kpkg/commands/buildcmd.nim b/kpkg/commands/buildcmd.nim index 54dc164e..9a045dc5 100644 --- a/kpkg/commands/buildcmd.nim +++ b/kpkg/commands/buildcmd.nim @@ -152,10 +152,13 @@ proc builder*(package: string, destdir: string, if pkg.sources.split(";").len == 1: if existsPrepare == 0: cmd = execShellCmd(sboxWrap(cmdStr)) - cmd2 = execShellCmd(sboxWrap(". "&path&"/run && fakeroot -- "&cmd2Str)) + cmd2 = execShellCmd(sboxWrap( + ". "&path&"/run && fakeroot -- "&cmd2Str)) else: cmd = execShellCmd(sboxWrap("cd "&folder[0]&" && "&cmdStr)) - cmd2 = execShellCmd(sboxWrap(". "&path&"/run && fakeroot -- cd "&folder[0]&" && "&cmd2Str)) + cmd2 = execShellCmd(sboxWrap( + ". "&path&"/run && fakeroot -- cd "&folder[ + 0]&" && "&cmd2Str)) else: cmd = execShellCmd(sboxWrap(cmdStr)) cmd2 = execShellCmd(sboxWrap(". "&path&"/run && fakeroot -- "&cmd2Str))