Surely it all depends if the path includes ".".
Wouldn't a far simpler solution be
Code:
echo "Starting up Calibre"
# original: calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"
# below modified to make it portable
./calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"