QuantumLeaps / qm

Graphical modeling and code generation tool based on UML state machines
https://www.state-machine.com/products/qm
Other
140 stars 37 forks source link

Enable posibility to run qmc.sh from other directories #10

Closed piponazo closed 2 years ago

piponazo commented 2 years ago

At the moment I can only run the qmc.sh script when I do it from the bin directory where it is placed. If you try to run it from other directory I get this error:

myUser@:~/someOfMyDirectories/$ /opt/qm/bin/qmc.sh
/opt/qm/bin/qmc.sh: 20: exec: /someOfMyDirectories/./qmc: not found

The script shows the intention to implement the possibility to be able to run the script from any folder, but I think it was not properly implemented/tested.

quantum-leaps commented 2 years ago

The changes to the qmc.sh (and similar to qm.sh) have been incorporated in the QM repo. Please check. --MMS