Merge pull request #70 from danvratil/dev/fix-dir-export

Fix path generation when recursively exporting a directory
tingping/wmclass
Alexander Larsson 2015-05-07 14:48:39 +02:00
commit 16251bbb63
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ export_dir (int source_parent_fd,
if (S_ISDIR (stbuf.st_mode))
{
g_autofree gchar *child_relpath = g_strconcat (source_relpath, dent->d_name, "/", NULL);
g_autofree gchar *child_relpath = g_build_filename(source_relpath, dent->d_name, NULL);
if (!export_dir (source_iter.fd, dent->d_name, child_relpath, destination_dfd, dent->d_name,
required_prefix, cancellable, error))