aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncinstall.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/syncinstall.nim')
-rw-r--r--src/feature/syncinstall.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim
index 99da522..3d3abcc 100644
--- a/src/feature/syncinstall.nim
+++ b/src/feature/syncinstall.nim
@@ -327,7 +327,7 @@ proc buildLoop(config: Config, pkgInfos: seq[PackageInfo], noconfirm: bool,
let buildCode = forkWait(proc: int =
if chdir(buildPath) == 0:
- discard setenv("MAKEPKG_CONF", "", 1)
+ discard unsetenv("MAKEPKG_CONF")
if not noextract:
removeDirQuiet(buildPath & "src")