From: graham.gower Date: Wed, 9 Dec 2009 06:05:48 +0000 (+0000) Subject: And make the install command work. WTF? X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=9b0b4b31e4bb13f4ae77bc0841fe9400ec3898c1 And make the install command work. WTF? git-svn-id: http://opkg.googlecode.com/svn/trunk@476 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index 1d1f7b6..073a9a7 100644 --- a/tests/libopkg_test.c +++ b/tests/libopkg_test.c @@ -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;