From: Wolfgang Bumiller Date: Mon, 6 Feb 2017 14:50:17 +0000 (+0100) Subject: asciidoc-pve: include the PID in the temp file prefix X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=2f0886ca0c0af2dd1ff629e603009e1efd4b20c2 asciidoc-pve: include the PID in the temp file prefix To allow parallel runs of multiple pages including some common source. --- diff --git a/asciidoc-pve.in b/asciidoc-pve.in index 83a6c5c..83f59eb 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -23,7 +23,7 @@ while () { $data_str .= $_; } my $fileinfo = decode_json($data_str); -my $tmpprefix = ".asciidoc-pve-tmp_"; +my $tmpprefix = '.asciidoc-pve-tmp'.$$.'_'; my $adoc_source_dir = "/usr/share/pve-doc-generator";