upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ciano / repos / community-x86_64 / 0001-Create-output-directory-if-not-exist.patch
blob1f58006b27541e2b55cec24f17c4ef6454c737e9
1 From 162821952e14010531a89bc172fa00f95dcc2c79 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
3 Date: Wed, 8 Jul 2020 10:46:34 +0200
4 Subject: [PATCH] Create output directory if not exist
6 Instead of trying to create the source directory, which must be already exist.
7 ---
8 src/Controllers/ConverterController.vala | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/src/Controllers/ConverterController.vala b/src/Controllers/ConverterController.vala
12 index b639d11..d05681d 100644
13 --- a/src/Controllers/ConverterController.vala
14 +++ b/src/Controllers/ConverterController.vala
15 @@ -251,7 +251,7 @@ namespace Ciano.Controllers {
17 private void start_conversion_process (ItemConversion item, string name_format) {
18 try {
19 - var directory = File.new_for_path (item.directory);
20 + var directory = File.new_for_path (this.settings.output_folder);
21 if (!directory.query_exists ()) {
22 directory.make_directory_with_parents();
24 --
25 2.27.0