apache/tomcat — pull request #8 by cpbills (2014-05-13 21:21:09+00:00)
Title: Fix how a link to $0 is determined

- The test '-L' is true of the file provided is a symbolic link
- 'readlink -f' will print the absolute path to a symbolic link's target
- 'readlink -n' will skip a trailing newline