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:
1 parent
f3796a4458
commit
a08b7765b7
1 file changed
+1
-1
@@ -455,7 +455,7 @@ get_unpacked_unlinked_content (OstreeRepo *repo,
|
|||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
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;
|
glnx_fd_close int fd = -1;
|
||||||
g_autoptr(GBytes) ret_content = NULL;
|
g_autoptr(GBytes) ret_content = NULL;
|
||||||
g_autoptr(GInputStream) istream = NULL;
|
g_autoptr(GInputStream) istream = NULL;
|
||||||
|
|||||||
Reference in new issue
Block a user