aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lapis.nim4
1 files changed, 2 insertions, 2 deletions
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:
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.