21 lines
775 B
Diff
21 lines
775 B
Diff
From https://github.com/openscad/openscad/commit/45a5e3bdd6c8071cb50b9c3f2b14a62554aafc4a Mon Sep 17 00:00:00 2001
|
|
From: Torsten Paul <Torsten.Paul@gmx.de>
|
|
Date: Thu, 14 Apr 2022 16:07:04 +0200
|
|
Subject: [PATCH 11/11] Remove double quoting of the output file parameter for
|
|
ghostscript.
|
|
|
|
--- a/tests/export_pngtest.py
|
|
+++ b/tests/export_pngtest.py
|
|
@@ -82,7 +82,7 @@ result = subprocess.call(export_cmd, env = fontenv)
|
|
if result != 0:
|
|
failquit('OpenSCAD failed with return code ' + str(result))
|
|
|
|
-convert_cmd = gs_cmd + ["-sOutputFile=\"" + pngfile + "\"", exportfile]
|
|
+convert_cmd = gs_cmd + ["-sOutputFile=" + pngfile, exportfile]
|
|
print('Running Converter:', ' '.join(convert_cmd), file=sys.stderr)
|
|
result = subprocess.call(convert_cmd)
|
|
if result != 0:
|
|
--
|
|
2.35.1
|
|
|