]> git.proxmox.com Git - mirror_novnc.git/commit
Follow symbolic links in launch.sh
authorSolly Ross <sross@redhat.com>
Thu, 26 Mar 2015 20:57:17 +0000 (16:57 -0400)
committerSolly Ross <sross@redhat.com>
Thu, 26 Mar 2015 20:57:17 +0000 (16:57 -0400)
commit2ace90e6d593fa0b38589239fe6ba6599d00d2b6
tree854c8ccb4860f59807a871b8a64a04eefcbf186a
parent16b3ef77d15179076144d45c9edfdb6d37beb41e
Follow symbolic links in launch.sh

Previously, in launch.sh, `$HERE` was the directory of `$0`.
However, if `$0` was actually a symlink, `$HERE` would be
wherever the symlink was, which could cause issues (for
example, the script wouldn't be able to local `$WEB` or
`$WEBSOCKIFY` properly).

Now, `$HERE` looks at whatever `$0` points at instead.

Closes #447.
utils/launch.sh