mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-22 07:35:25 -04:00
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:
1 parent
a111e8b8ed
commit
27031df5bf
1 file changed
+1
-1
@@ -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 *
|
||||
|
||||
Reference in new issue
Block a user