aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/000-upstream-fix_configure_order.patch
blob: dcd1b547c288d2d323d02eb2a8bc4e271b8cfb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
http://code.google.com/p/opkg/source/detail?r=521

--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -390,8 +390,8 @@ opkg_configure_packages(char *pkg_name)
 	     goto error;
      }
     
-     for(i = 0; i < all->len; i++) {
-	  pkg = all->pkgs[i];
+     for(i = 0; i < ordered->len; i++) {
+	  pkg = ordered->pkgs[i];
 
 	  if (pkg_name && fnmatch(pkg_name, pkg->name, 0)) 
 	       continue;