Print input path interferes with output path

Bug #1333677 reported by Joakim Nilsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Undecided
Unassigned

Bug Description

When exporting a schematic to PostScript with the following command:

gschem -p -v -o dir1/file.ps -s /usr/share/gEDA/scheme/print.scm dir2/file.sch

, the output file is saved as 'dir2/dir1/file.ps'. I would have expected it to be saved in 'dir1/file.ps' since this is the path specified after the -o option.

'gschem --version' outputs 'gEDA 1.8.2 (g875406c)'

'/usr/share/gEDA/scheme/print.scm' contains the following and was installed when i installed gEDA on Debian jessie:

;; $Id$
;;
;; This file may be used to print gschem schematics from the
;; command line. Typical usage is:
;;
;; gschem -p -o mysch.ps -s /path/to/this/file/print.scm mysch.sch
;;
;; The schematic in "mysch.sch" will be printed to the file "mysch.ps"

;; Uncomment these to override defaults when printing from the command line
;(output-orientation "portrait")
;(output-type "limits")
;(output-color "enabled")
;(output-text "ps")

; You need call this after you call any rc file function
(gschem-use-rc-values)

; filename is specified on the command line
(gschem-postscript "dummyfilename")

(gschem-exit)

Tags: gschem
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.