diff options
author | kitsunyan | 2018-05-05 18:42:14 +0000 |
---|---|---|
committer | kitsunyan | 2018-05-05 18:42:14 +0000 |
commit | 9c7c88d41a3a4f59602f1e4b42635551379ccc99 (patch) | |
tree | b506d9ac6487aeb332fa36bcca6ae601ae26a7ef /src/main.nim | |
parent | 4b07b34b80ecbf8cfb88945a56ce021525b74741 (diff) |
Copy built packages to package cache directory
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim index 52f1cb8..10829b8 100644 --- a/src/main.nim +++ b/src/main.nim @@ -90,7 +90,7 @@ proc handleSync(args: seq[Argument], config: Config): int = let printMode = args.check(%%%"print") or args.check(%%%"print-format") if currentUser.uid != 0 and config.sudoExec and not printMode: - let collectedArgs = @[sudoCmd, getAppFilename()] & + let collectedArgs = sudoPrefix & getAppFilename() & lc[x | (y <- args, x <- y.collectArg), string] execResult(collectedArgs) else: |