Skip to content

Commit b2efaa8

Browse files
committed
Improvements
1 parent 87a06e6 commit b2efaa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/packages.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ proc buildPackages*(
194194

195195
if dirExists(tmp):
196196
setCurrentDir(tmp)
197-
if dirExists(tmp / &"{package}-{package.ver}"):
198-
setCurrentDir(tmp / &"{package}-{package.ver}")
197+
if dirExists(tmp / &"{nom}-{package.ver}"):
198+
setCurrentDir(tmp / &"{nom}-{package.ver}")
199199

200200
let shell = execCmdEx(
201201
&"""sh -efu -c '
@@ -212,7 +212,7 @@ proc buildPackages*(
212212
)
213213

214214
writeFile(
215-
getEnv("LOGD") / nom & (if stage == native: "" else: $stage), shell.output.strip()
215+
pathLog / nom & (if stage == native: "" else: '.' & $stage), shell.output.strip()
216216
)
217217

218218
if shell.exitCode != QuitSuccess:

0 commit comments

Comments
 (0)