diff --git a/jsqsh-dist/dist/unix/jsqsh b/jsqsh-dist/dist/unix/jsqsh
index 81b135d..e274c59 100755
--- a/jsqsh-dist/dist/unix/jsqsh
+++ b/jsqsh-dist/dist/unix/jsqsh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
#
# jsqsh - This shell script attempts to launch org.sqsh.JSqsh.
# it does its best to try to figure out where various files
@@ -9,11 +9,7 @@
#
# This determines the location of this shell script.
#
-PROG=$(readlink "$0")
-while [ -L "$PROG" ]; do
- PROG=$(readlink "$PROG")
-done
-PROG_DIR=$(dirname "$PROG")
+PROG_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
#
# The parent directory of where this script was found
diff --git a/pom.xml b/pom.xml
index f6e87d5..f3763aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,7 +95,8 @@
maven-javadoc-plugin
2.9.1
- -Xdoclint:none
+ -Xdoclint:none
+ ${java.home}/bin/javadoc