mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
checkout: Use ot_util_new_file_for_path
This commit is contained in:
parent
79cff61ae8
commit
80fcb3b818
@ -204,7 +204,7 @@ run_trigger (OstreeCheckout *self,
|
||||
{
|
||||
temp_path = g_build_filename (priv->path, basename, NULL);
|
||||
rel_temp_path = g_strconcat ("./", basename, NULL);
|
||||
temp_copy = g_file_new_for_path (temp_path);
|
||||
temp_copy = ot_util_new_file_for_path (temp_path);
|
||||
|
||||
if (!g_file_copy (trigger, temp_copy, 0, NULL, NULL, NULL, error))
|
||||
goto out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user