Fixes
gitea/vn-vmware/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-05-22 19:15:02 +02:00
parent 93b90cd24c
commit 5c049af5ac
2 changed files with 4 additions and 4 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-vmware (1.1.19) stable; urgency=low
vn-vmware (1.1.20) stable; urgency=low
* Initial Release.

View File

@ -606,13 +606,13 @@ sub backup_machine() {
}
$pigz_processes = max(1, $pigz_processes);
my $tar_command = "tar -I \"pigz -p $pigz_processes\" -c -C $local_tmp_dir .";
my $tar_command = "tar -I \"pigz -p $pigz_processes\" -c -C \"$local_tmp_dir\" .";
if (defined($passphrase_file)) {
my $gpg_command = "gpg -c --passphrase-file \"$passphrase_file\" --batch --yes -o $tar_file.gpg";
my $gpg_command = "gpg -c --passphrase-file \"$passphrase_file\" --batch --yes -o \"$tar_file.gpg\"";
$tar_command = "$tar_command | $gpg_command";
} else {
$tar_command = "$tar_command -f $tar_file";
$tar_command = "$tar_command -f \"$tar_file\"";
}
log_message "Compressing with Gzip (using $pigz_processes processes) to TAR file.";