flatpak_resolve_symlink: Properly make paths absolute

We need to use g_build_filename, g_build_path takes a separator
as the first arg, not a path!
This commit is contained in:
Alexander Larsson committed 2017-01-19 15:36:06 +01:00
1 parent a111e8b8ed
commit 27031df5bf
1 file changed
+1 -1
+1 -1
View File
@@ -2182,7 +2182,7 @@ flatpak_resolve_link (const char *path,
return g_steal_pointer (&link);
dirname = g_path_get_dirname (path);
return g_build_path (dirname, link, NULL);
return g_build_filename (dirname, link, NULL);
}
char *