Bash scripts don't work when symlinked

Issue #192 resolved
xiota created an issue

The ART and ART-cli in the precompiled binaries from the download page don’t work when symlinked. For instance, a user might want to unpack the tar in /opt and symlink the scripts in ~/bin. The problem is related to the definition of the d variable. Making the following change to tools/linux/bundle_ART.py appears to fix the problem

#d=$(dirname $0)
d=$(dirname $(readlink -f "$0"))

Comments (3)

  1. Log in to comment