Debian Automated Code Analysis

checkbashisms analysis of jbossas4_4.2.3.GA-4.dsc

possible bashism in ./server/src/bin/jboss_init_hpux.sh line 107 (typeset):
    typeset JBossHome=$2 JBossUserId=$1 instance=$3 junk
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 108 ('((' should be '$(('):
    ((isJBossRunningPid=0))
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 122 ('((' should be '$(('):
    if (($?!=0)); then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 129 ('((' should be '$(('):
    if (($?!=0)); then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 136 ('((' should be '$(('):
    if (($?!=0)); then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 148 (typeset):
    typeset -i i=$1
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 150 ('((' should be '$(('):
    (( ${JBOSS_START[i]} != 1 )) && return 0
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 153 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -d ${JBOSS_CONSOLE[i]%/*} ]]; then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 160 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -d ${JBOSS_HOME[i]} ]]; then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 168 ('((' should be '$(('):
    if (( $? == 0 )); then
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 174 (alternative test command ([[ foo ]] should be [ foo ])):
    [[ -f ${JBOSS_CONSOLE[i]} ]] && mv ${JBOSS_CONSOLE[i]} ${JBOSS_CONSOLE[i]}.old
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 190 (typeset):
    typeset -i i=$1
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 211 (typeset):
    typeset cmd=$1
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 212 (typeset):
    typeset -i rc=0
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 218 ('((' should be '$(('):
    ((i=0))
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 219 (alternative test command ([[ foo ]] should be [ foo ])):
    while [[ ${JBOSS_HOME[i]} != "" ]]
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 229 ('((' should be '$(('):
      (($? != 0)) && rc=$?
possible bashism in ./server/src/bin/jboss_init_hpux.sh line 230 ('((' should be '$(('):
      ((i=i+1))
possible bashism in ./server/src/bin/jboss_init_suse.sh line 96 ('function' is useless):
function procrunning() {
possible bashism in ./server/src/bin/jboss_init_suse.sh line 109 (echo -e):
        echo -n -e "\nNo JBossas is currently running\n"
possible bashism in ./server/src/bin/jboss_init_suse.sh line 128 (echo -e):
        echo -n -e "\nwaiting for processes to stop";
possible bashism in ./server/src/bin/jboss_init_suse.sh line 133 (should be 'b = a'):
        if [ $pid == '0' ]; then
possible bashism in ./server/src/bin/jboss_init_suse.sh line 145 (echo -e):
        echo -e "\nTimeout: Shutdown command was sent, but process is still running with PID $pid"
possible bashism in ./server/src/bin/jboss_init_redhat.sh line 71 ('function' is useless):
function procrunning() {
possible bashism in ./server/src/bin/jboss_init_redhat.sh line 84 (echo -e):
        echo -n -e "\nNo JBossas is currently running\n"
possible bashism in ./server/src/bin/jboss_init_redhat.sh line 103 (echo -e):
        echo -n -e "\nwaiting for processes to stop";
possible bashism in ./server/src/bin/jboss_init_redhat.sh line 108 (should be 'b = a'):
        if [ $pid == '0' ]; then
possible bashism in ./server/src/bin/jboss_init_redhat.sh line 120 (echo -e):
        echo -e "\nTimeout: Shutdown command was sent, but process is still running with PID $pid"
possible bashism in ./jms/src/bin/functions line 49 (should be '.', not 'source'):
    source $reldir/../local/config

This report was generated on Fri, 17 Dec 2010 03:38:15 +0000, based on results by checkbashisms 2.10.65git5