wamuseum/cmis-tools — pull request #28 by leftclickben (2014-05-26 06:35:54+00:00)
Title: Improve checks for COLLECTIVEACCESS_HOME.

+ -v checks whether the variable is defined.
+ -d checks whether the contents of the variable represent a valid path, which
is also a directory.
+ Therefore -v should come before -d, especially when `set -u` is in effect.