summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-13 00:57:45 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-13 00:57:45 (EST)
commit3c6599f1f39f1b460c12284682e46a2953b4e535 (patch)
tree0923cbaa3de32652e3fcefbf3158ce46e8dad8e5 /libopkg
parentef1399b3610825667f5797c52afc964ee2a713be (diff)
Fix the case where -o is used, but no conf file is passed.
git-svn-id: http://opkg.googlecode.com/svn/trunk@300 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index 2d7b881..2a3ea0c 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -154,8 +154,8 @@ int opkg_conf_init(opkg_conf_t *conf, const args_t *args)
}
}
- offline_root = conf->offline_root;
opkg_conf_override_string(&conf->offline_root, args->offline_root);
+ offline_root = conf->offline_root;
if (conf->offline_root)
sprintf_alloc(&etc_opkg_conf_pattern, "%s/etc/opkg/*.conf", conf->offline_root);