apache/tomcat — pull request #7 by cpbills (2014-05-13 20:47:01+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