QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System Linux (All / Other)
  • Severity Low
  • Priority Very Low
  • Reported Version 3.19.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: QCAD Bugtracker
Opened by Timofey V. Chernyshev - 13.02.2018
Last edited by Andrew - 22.03.2018

FS#1717 - small fix in startup script

The current startup script fails when called through symbolic link due to string:


It is better to change it to:

DIR=$(dirname -- $(readlink -f -- $0))
Closed by  Andrew
22.03.2018 11:03
Reason for closing:  Not a bug
Andrew commented on 13.03.2018 13:42

readlink has other problems (non-standard, see http://mywiki.wooledge.org/BashFAQ/028)

Using PWD would very likely break existing use cases.

For now, we're moving to BASH_SOURCE which is also not perfect but seems to cover most use cases and assures backwards compatibility.

Feel free to comment..


Available keyboard shortcuts


Task Details

Task Editing