mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-20 07:24:36 +01:00
6ccd4143eb
SVN-Revision: 17209
13 lines
397 B
Diff
13 lines
397 B
Diff
--- a/libopkg/args.c
|
|
+++ b/libopkg/args.c
|
|
@@ -62,7 +62,7 @@
|
|
if (conf_file_dir == NULL || conf_file_dir[0] == '\0') {
|
|
conf_file_dir = ARGS_DEFAULT_CONF_FILE_DIR;
|
|
}
|
|
- sprintf_alloc(&args->conf_file, "%s/%s", conf_file_dir,
|
|
+ sprintf_alloc(&args->conf_file, "%s/%s", OPKGETCDIR,
|
|
ARGS_DEFAULT_CONF_FILE_NAME);
|
|
|
|
args->force_defaults = ARGS_DEFAULT_FORCE_DEFAULTS;
|
|
|