GPG signing path in quotes

This commit is contained in:
Sven Seeberg 2020-11-14 16:54:55 +01:00
parent 9be1ad525b
commit 6eb37dcea0
Signed by: sven.seeberg
GPG key ID: 29559DD5A83806B5

View file

@ -188,7 +188,7 @@ EOT;
// write the file and create a detached GPG signature
file_put_contents($file_path, $file_data);
shell_exec("gpg --sign $file_path");
shell_exec("gpg --sign '$file_path'");
// synchronize both files
$this->sync_command($file_path);