From: Jan Nieuwenhuizen Date: Tue, 16 Mar 2010 14:48:07 +0000 (+0100) Subject: Processing stdin: same for --png: rename "-" to "./-". X-Git-Tag: release/2.13.17-1~65 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11a5e9f4121198c2bcd3558a691f277c9607551c;p=lilypond.git Processing stdin: same for --png: rename "-" to "./-". --- diff --git a/scm/framework-ps.scm b/scm/framework-ps.scm index 9bf7938ead..fcd3604d16 100644 --- a/scm/framework-ps.scm +++ b/scm/framework-ps.scm @@ -638,6 +638,8 @@ fonts inline." (paper-width (ly:output-def-lookup defs 'paper-width)) (paper-height (ly:output-def-lookup defs 'paper-height)) (output-scale (ly:output-def-lookup defs 'output-scale))) + (if (equal? (basename name ".ps") "-") + (set! name (string-append "./" name))) (postscript->png resolution (* paper-width output-scale (/ (ly:bp 1))) (* paper-height output-scale (/ (ly:bp 1)))