Skip to content

Commit

Permalink
Commit from GitHub Actions (Format Nim Files)
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Aug 12, 2023
1 parent 4f2cfce commit 6d85103
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions kpkg/commands/buildcmd.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6d85103

Please sign in to comment.