achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

enhance launcher for symlinking #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add +x to umlet.sh
2. create a symlink to umlet.sh from your favorite bin folder
3. execute symlink

What is the expected output? What do you see instead?
Expected: umlet starts
Instead: cannot find path/to/favorite/binfolder/umlet.jar

What version of the product are you using? On what operating system?
12.2, Ubuntu 13.10

Please provide any additional information below.

instead of

    programDir=$(cd $(dirname $0);pwd)

use

    programDir=$(dirname $(readlink -f $0))

Original issue reported on code.google.com by kurellaj...@gmail.com on 13 Feb 2014 at 11:07

GoogleCodeExporter commented 9 years ago
thanks for the report + fix

unfortunately I've forgotten to include the change in v13, but it will be in 
the next version

Original comment by AFDiaX on 17 Sep 2014 at 5:12