And make the install command work. WTF?
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 9 Dec 2009 06:05:48 +0000 (06:05 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 9 Dec 2009 06:05:48 +0000 (06:05 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@476 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

tests/libopkg_test.c

index 1d1f7b6215bed939ae8b9d1e3df9f8c10f88971e..073a9a7ca392483701244f8665ee854cf142ba30 100644 (file)
@@ -167,7 +167,7 @@ main (int argc, char **argv)
        printf ("Package \"%s\" not found!\n", find_pkg->name);
       break;
     case 'i':
-      err = opkg_install_package (argv[1], progress_callback, "Installing...");
+      err = opkg_install_package (argv[2], progress_callback, "Installing...");
       printf ("\nopkg_install_package returned %d (%s)\n", err, errors[err]);
       break;