aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorkitsunyan2018-03-16 18:22:16 +0000
committerkitsunyan2018-03-16 18:22:16 +0000
commit8d0508a73cd984fa532ff9f29cbedba5d0e0aa81 (patch)
tree4b085ac238974a0a62693d5c6a598604fd1f2970 /src/feature
parenta57808b1a143f5bf0f04e2dbc4969742e4b73a2a (diff)
Use unsetenv instead of setenv with empty string
Diffstat (limited to 'src/feature')
-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")