aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/001-fix-double-parsing.patch
blob: a36ffa48cab5818f521748f3ef6d9c8ac8ce34e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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;