wgtpkg-pack: Ensure packing relative files 55/19955/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 14:07:56 +0000 (15:07 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 14:07:56 +0000 (15:07 +0100)
commitd0cb2a7a1e068a38b4a0c3216ccdbce0e33ecffb
treeecde0204132a9423ed47096cb292e9661ee30acf
parent48e894bee732315d89eb5b46d2432ed45fc81a43
wgtpkg-pack: Ensure packing relative files

When running external ZIP program, ensures that
the files are stored with a path relative to the
root directory by changing the directory first.

Also, tiny improvement in working directory handling.

Change-Id: I3470c6c933aea9cd93dac197ff7f5e8a0ed86b23
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/wgtpkg-pack.c
src/wgtpkg-workdir.c