Stefan Meinlschmidt wrote:
> 
> It is not possible to start xxe via a symlink. This is a bit annoying,
> as every scheme to install software by hand in a somewhat ordered way
> involves something like symlinks from /usr/local/bin/xxe to
> /usr/local/stow/xxe/bin/xxe or similar.
> 
> The reason for the problem is that the ../bin/xxe start script tries
> to determine its own loction in order to find the jars and such, but
> it doesn't account for symlinks. So there's a quite simple fix:
> 
> In .../bin/xxe find the line that reads
> 
>   dist=`dirname $0`
> 
> and replace it by something like
> 
>   dist=`readlink -e $0`
>   dist=`dirname $dist`
> 
> That's all, it seems to works well for me. But maybe you should check
> the availability of readlink -e before you incorporate the fix into
> your distribution.
> 

Thank you for the information. I didn't know there was a readlink command.

However we do not intend to improve the xxe shell script (no offense 
intended) because, due to our lack of Unix knowledge, this is likely to 
break it in what we think to be the most common use case.








Reply via email to