mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 04:23:21 +00:00
trivial: libfwupd: correct building URI path
when run on Windows the following is emitted: ``` changing metadata URI from https://cdn.fwupd.org/downloads/firmware.xml.gz to https://cdn.fwupd.org/downloads\firmware-02681-stable.xml.gz ```
This commit is contained in:
parent
e332a3683e
commit
27ac4f1fc2
@ -1148,7 +1148,7 @@ fwupd_remote_load_signature_jcat(FwupdRemote *self, JcatFile *jcat_file, GError
|
||||
|
||||
/* replace the URI if required */
|
||||
baseuri = g_path_get_dirname(priv->metadata_uri);
|
||||
metadata_uri = g_build_filename(baseuri, id, NULL);
|
||||
metadata_uri = g_build_path("/", baseuri, id, NULL);
|
||||
if (g_strcmp0(metadata_uri, priv->metadata_uri) != 0) {
|
||||
g_debug("changing metadata URI from %s to %s", priv->metadata_uri, metadata_uri);
|
||||
g_free(priv->metadata_uri);
|
||||
|
Loading…
Reference in New Issue
Block a user