- Status Closed
- Percent Complete
- Task Type Feature Request
- Category QCAD (main)
- Assigned To No-one
- Operating System Linux (All / Other)
- Severity Low
- Priority Very Low
- Reported Version 3 TP1
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 23.05.2011
Last edited by Anonymous Submitter - 23.05.2011
Opened by Anonymous Submitter - 23.05.2011
Last edited by Anonymous Submitter - 23.05.2011
FS#91 - linux start shell script enhancement
The script in the application directory only works when called from within this directory like that “./qcad”. I suggest below alternative, that can be called from any place, as above and also with an absolute path, eg “/opt/qcad-3.0.0-tp1-prof-linux/qcad”:
#!/bin/sh EXE=${0##*/} DIR=${0%$EXE} LD_LIBRARY_PATH=${DIR} ${DIR}/qcad-bin $@
–
Can only post anonymously, Peter
Closed by Anonymous Submitter
23.05.2011 14:10
Reason for closing: Implemented
23.05.2011 14:10
Reason for closing: Implemented
Simplify, reduce:
This likely also handles spaces in path.