From: José Bollo Date: Wed, 30 Dec 2015 13:49:49 +0000 (+0100) Subject: zip: fix bug X-Git-Tag: 2.0.2~103 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=07c512dad1762f3791cc796a3014b43a0211345b zip: fix bug Change-Id: I69002d48416c2e58fc3ac4f9291368023e084bec --- diff --git a/TODO b/TODO index 6e89fef..75cdee0 100644 --- a/TODO +++ b/TODO @@ -4,3 +4,4 @@ List of things to do - more documentation - notifications - manage upgrade packages +- use key facilities of kernel diff --git a/src/wgtpkg-zip.c b/src/wgtpkg-zip.c index 4b87a41..a810e50 100644 --- a/src/wgtpkg-zip.c +++ b/src/wgtpkg-zip.c @@ -415,8 +415,8 @@ int zwrite(const char *zipfile) args[0] = "zip"; args[1] = "-q"; args[2] = "-r"; - args[3] = workdir; - args[4] = zipfile; + args[3] = zipfile; + args[4] = workdir; args[5] = NULL; return zrun(PATH_TO_ZIP, args);