summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/flatpak-dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
index 7521adbf..3f8f2567 100644
--- a/common/flatpak-dir.c
+++ b/common/flatpak-dir.c
@@ -8406,7 +8406,7 @@ flatpak_dir_deploy (FlatpakDir *self,
if (!g_file_make_directory_with_parents (files, cancellable, error))
return FALSE;
- options.subpath = "/metadata";
+ options.subpath = "metadata";
if (!ostree_repo_checkout_at (self->repo, &options,
AT_FDCWD, checkoutdirpath,
@@ -8419,7 +8419,7 @@ flatpak_dir_deploy (FlatpakDir *self,
for (i = 0; subpaths[i] != NULL; i++)
{
- g_autofree char *subpath = g_build_filename ("/files", subpaths[i], NULL);
+ g_autofree char *subpath = g_build_filename ("files", subpaths[i], NULL);
g_autofree char *dstpath = g_build_filename (checkoutdirpath, "/files", subpaths[i], NULL);
g_autofree char *dstpath_parent = g_path_get_dirname (dstpath);
g_autoptr(GFile) child = NULL;