In /usr/bin/jh_repack line 5:
. /usr/share/javahelper/jh_lib.sh
  ^-----------------------------^ SC1091: Not following: /usr/share/javahelper/jh_lib.sh was not specified as input (see shellcheck -x).


In /usr/bin/jh_repack line 20:
VERBOSE="`getarg v verbose`"
         ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
VERBOSE="$(getarg v verbose)"


In /usr/bin/jh_repack line 27:
VERSION=${ARGV[0]}
^-----^ SC2034: VERSION appears unused. Verify use (or export if used externally).


In /usr/bin/jh_repack line 28:
TARBALL="`readlink -f "${ARGV[1]}"`"
         ^------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
TARBALL="$(readlink -f "${ARGV[1]}")"


In /usr/bin/jh_repack line 30:
TMPDIR=`mktemp -d`
       ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
TMPDIR=$(mktemp -d)


In /usr/bin/jh_repack line 37:
if [ -n "`getarg n no-act`" ]; then
         ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
if [ -n "$(getarg n no-act)" ]; then


In /usr/bin/jh_repack line 42:
if grep tar.gz$ <<< $TARBALL &>/dev/null; then
                    ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if grep tar.gz$ <<< "$TARBALL" &>/dev/null; then


In /usr/bin/jh_repack line 45:
elif grep tar.bz2$ <<< $TARBALL &>/dev/null; then
                       ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
elif grep tar.bz2$ <<< "$TARBALL" &>/dev/null; then


In /usr/bin/jh_repack line 48:
elif grep tar.xz$ <<< $TARBALL &>/dev/null; then
                      ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
elif grep tar.xz$ <<< "$TARBALL" &>/dev/null; then


In /usr/bin/jh_repack line 51:
elif grep zip$ <<< $TARBALL &>/dev/null; then
                   ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
elif grep zip$ <<< "$TARBALL" &>/dev/null; then


In /usr/bin/jh_repack line 59:
if [ "`ls -1 | wc -l`" = "1" ]; then
      ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
       ^---^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames.

Did you mean: 
if [ "$(ls -1 | wc -l)" = "1" ]; then


In /usr/bin/jh_repack line 60:
    cd *
       ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /usr/bin/jh_repack line 69:
for doctree in `find . -name allclasses-frame.html`; do
               ^-- SC2044: For loops over find output are fragile. Use find -exec or a while read loop.
               ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
for doctree in $(find . -name allclasses-frame.html); do


In /usr/bin/jh_repack line 70:
TREE="`dirname $doctree`"
      ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
               ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
TREE="$(dirname "$doctree")"


In /usr/bin/jh_repack line 71:
rm -rf "$TREE"/*
       ^-------^ SC2115: Use "${var:?}" to ensure this never expands to /* .


In /usr/bin/jh_repack line 73:
find * -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty
     ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /usr/bin/jh_repack line 83:
    tar zcf "$TARBALL" *
                       ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /usr/bin/jh_repack line 86:
	tar jcf "$TARBALL" *
                           ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /usr/bin/jh_repack line 89:
	tar Jcf "$TARBALL" *
                           ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.


In /usr/bin/jh_repack line 92:
    tar zcf "${TARBALL%.zip}.tar.gz" *
                                     ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- VERSION appears unused. Verify us...
  https://www.shellcheck.net/wiki/SC2044 -- For loops over find output are fr...
  https://www.shellcheck.net/wiki/SC2115 -- Use "${var:?}" to ensure this nev...