FS#36965 - [qcad] launcher does not pass command-line arguments

Attached to Project: Community Packages
Opened by Celti Burroughs (Celti) - Tuesday, 17 September 2013, 13:14 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 23 September 2013, 13:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The launcher script for qcad does not pass command-line arguments to the program, preventing files to open from being specified on the command line.

Additional info:
* package version: qcad-3.2.2.2-1

Steps to reproduce:
1. Try to load a file with 'qcad file.dxf'.

Fix:
The /usr/bin/qcad launcher script should be replaced with the following:

#!/bin/bash
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}'/usr/share/qcad' exec /usr/share/qcad/qcad-bin "$@"
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 23 September 2013, 13:36 GMT
Reason for closing:  Fixed

Loading...