From 8b72321c7141e238aaa98fea2942c661e4a112ae Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Fri, 14 Nov 2025 11:40:14 +0100 Subject: made small bugfixes --- src/lapis.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lapis.nim') diff --git a/src/lapis.nim b/src/lapis.nim index 3a758f3..ba8f4ff 100644 --- a/src/lapis.nim +++ b/src/lapis.nim @@ -166,7 +166,7 @@ macro tessera*(packageName: untyped, body: untyped): untyped = echo "extracting " & $sourceFile & "..." let - tarCmd = "tar -xf " & $sourceFile + tarCmd = "tar -xf " & $sourceFile & " -C " & $expectedFolder (tarOutput, tarExitCode) = execCmdEx(tarCmd, workingDir=mosaicSourceFolder) echo "[TAR] " & $tarOutput @@ -195,7 +195,7 @@ macro tessera*(packageName: untyped, body: untyped): untyped = echo "[PATCH] " & $patchOutput - assert fileExists(patchFile) + assert fileExists($mosaicsourceFolder & $patchFile) # Step 6: Run the build commands: if pkgBuild.len == 0: -- cgit v1.2.3