summaryrefslogtreecommitdiff
path: root/src/solver.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-10-05 15:59:00 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-10-09 16:09:19 +0300
commit9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7 (patch)
treeb609ed342c6ec32aaf83456b44a86d2adbf98dd4 /src/solver.c
parentb2af872fff8af2dcde8500f84843c8fa4d554579 (diff)
downloadapk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.gz
apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.bz2
apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.xz
apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.zip
make apk_force non-global, remove left-over apk_arch
ref #10682
Diffstat (limited to 'src/solver.c')
-rw-r--r--src/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c
index df63060..be9240a 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1097,7 +1097,7 @@ restart:
generate_changeset(ss, world);
- if (ss->errors && (apk_force & APK_FORCE_BROKEN_WORLD)) {
+ if (ss->errors && (db->force & APK_FORCE_BROKEN_WORLD)) {
foreach_array_item(d, world) {
name = d->name;
pkg = name->ss.chosen.pkg;