diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-01-05 14:06:20 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-01-05 14:06:20 +0100 |
commit | 10d8291d89b3c594d5a482e7ab48e9cac1eb2837 (patch) | |
tree | 1aa7d7702f0944b5dc2b45db1b5edc745122c959 /src/wgtpkg-install.c | |
parent | 81e6aec3bab4bc345aa78080770b65896d8a7162 (diff) |
workdir: avoid use of absolute path
Change-Id: Id3e039d1279f8afa5cda4359254362f2afacab61
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-install.c')
-rw-r--r-- | src/wgtpkg-install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wgtpkg-install.c b/src/wgtpkg-install.c index a405cfa..b8646fa 100644 --- a/src/wgtpkg-install.c +++ b/src/wgtpkg-install.c @@ -233,7 +233,7 @@ struct wgt_info *install_widget(const char *wgtfile, const char *root, int force /* workdir */ create_directory(root, 0755, 1); - if (make_workdir_base(root, "TMP", 0)) { + if (make_workdir(root, "TMP", 0)) { ERROR("failed to create a working directory"); goto error1; } |