mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
static-delta: Put temp files in /var/tmp
We may not have write permissions in the current directory. Closes: #259 Approved by: cgwalters
This commit is contained in:
parent
f3796a4458
commit
a08b7765b7
@ -455,7 +455,7 @@ get_unpacked_unlinked_content (OstreeRepo *repo,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
g_autofree char *tmpname = g_strdup ("tmpostree-deltaobj-XXXXXX");
|
||||
g_autofree char *tmpname = g_strdup ("/var/tmp/tmpostree-deltaobj-XXXXXX");
|
||||
glnx_fd_close int fd = -1;
|
||||
g_autoptr(GBytes) ret_content = NULL;
|
||||
g_autoptr(GInputStream) istream = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user