[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intermediate ps file overwrites existing one

From: Martin Tarenskeen
Subject: intermediate ps file overwrites existing one
Date: Sun, 3 May 2015 13:24:27 +0200 (CEST)
User-agent: Alpine 2.11 (LFD 23 2013-08-11)

bugreport / change request

%%% tiny example "example.ly": %%%

\version "2.19.19"
{c' d' e' f'}

%%% commandline actions --> result %%%
$ lilypond --ps example.ly --> creates example.ps, which I want to keep
$ lilypond example.ly --> creates example.pdf, without telling me it
                      --> brutally overwrites and then deletes example.ps

%%% change request: %%%
Maybe lilyPond should create a unique temporary filename using something like mktemp to create the intermediate files.

P.S. As a side-effect this would also solve a funny issue that's happening on systems when using a filename like "lines.ly". The intermediate filename "lines.ps" confuses Ghostscript, as there is also a "lines.ps" file in the Ghostscript library path.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]