[package] opkg: fix duplicate parsing of config file, move opkg.conf back to /etc...
[openwrt.git] / package / opkg / patches / 001-fix-double-parsing.patch
1 --- a/libopkg/args.c
2 +++ b/libopkg/args.c
3 @@ -62,7 +62,7 @@
4 if (conf_file_dir == NULL || conf_file_dir[0] == '\0') {
5 conf_file_dir = ARGS_DEFAULT_CONF_FILE_DIR;
6 }
7 - sprintf_alloc(&args->conf_file, "%s/%s", conf_file_dir,
8 + sprintf_alloc(&args->conf_file, "%s/%s", OPKGETCDIR,
9 ARGS_DEFAULT_CONF_FILE_NAME);
10
11 args->force_defaults = ARGS_DEFAULT_FORCE_DEFAULTS;
12
This page took 0.040524 seconds and 5 git commands to generate.