diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-14 10:40:14 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-14 10:40:14 +0000 |
| commit | 8b72321c7141e238aaa98fea2942c661e4a112ae (patch) | |
| tree | 4b293b633174061ac5b20d34a856225c9b3013b6 /src | |
| parent | update TODO (diff) | |
made small bugfixes
Diffstat (limited to '')
| -rw-r--r-- | src/lapis.nim | 4 |
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: |
