aboutsummaryrefslogtreecommitdiff
path: root/src/common.nim
diff options
context:
space:
mode:
authorkitsunyan2018-03-13 23:23:58 +0000
committerkitsunyan2018-03-13 23:23:58 +0000
commit67d1413bbcbb07636a3267568572b99e0c92f219 (patch)
treed03ad0740f6a6d64d4a820ddaec82d3968181ba3 /src/common.nim
parenteedc8ca25aa95ffd152fe9fc3b4946e7ebe0d917 (diff)
Perform arch filter during .SRCINFO parsing
Diffstat (limited to 'src/common.nim')
-rw-r--r--src/common.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.nim b/src/common.nim
index 8ef6dba..eab0750 100644
--- a/src/common.nim
+++ b/src/common.nim
@@ -331,7 +331,8 @@ proc obtainBuildPkgInfos*(config: Config,
let output = execProcess(bashCmd, ["-c",
"""cd "$2/$3" && "$1" --printsrcinfo""",
"bash", makePkgCmd, repoPath, git.path], options = {})
- parseSrcInfo(repo, output, git.url, some(git.branch), commit, some(git.path))
+ parseSrcInfo(repo, output, config.arch,
+ git.url, some(git.branch), commit, some(git.path))
.filter(i => i.version == version)
else:
@[]