Debian Automated Code Analysis

checkbashisms analysis of openafs_1.4.12.1+dfsg-3.dsc

possible bashism in ./src/tools/install/install_afs line 27 (echo -e):
  echo -e "OpenAFS Installation for Linux: Help Mode\n"
possible bashism in ./src/tools/install/install_afs line 28 (echo -e):
  echo -e "The command install_afs takes the following optional arguments.  If any\nneeded information is not provided on the command line, it will be\nprompted for the user to input.\n"
possible bashism in ./src/tools/install/install_afs line 29 (echo -e):
  echo -e "\t-machineName (or -m) name: where name specifies\n\t  the name of the machine the command is being run on"
possible bashism in ./src/tools/install/install_afs line 30 (echo -e):
  echo -e "\t-cellName (or -c) cell: where cell specifies the\n\t  name of the home cell of this machine"
possible bashism in ./src/tools/install/install_afs line 31 (echo -e):
  echo -e "\t-shortCell (or -s) scell: where scell is the shortcut\n\t   name desired for the home cell.  Ignored if this\n\t   is not the first server"
possible bashism in ./src/tools/install/install_afs line 32 (echo -e):
  echo -e "\t-hardDrive (or -h) hd: where hd is the device name on\n\t   which to mount the first AFS partition.  Ignored if this\n\t   is not a server"
possible bashism in ./src/tools/install/install_afs line 33 (echo -e):
  echo -e "\t-serverType (or -st) type: where type can be \"first\",\n\t   \"additional\", or \"not\", specifying whether this is\n\t   to be the first server in a cell, an additional server\n\t   for the cell, or not a server at all"
possible bashism in ./src/tools/install/install_afs line 34 (echo -e):
  echo -e "\t-clientType (or -ct) type: where type can be \"client\"\n\t   or \"not\", specifying whether this machine is to be an\n\t   AFS client or not"
possible bashism in ./src/tools/install/install_afs line 35 (echo -e):
  echo -e "\t-adminPassword (or -p) password: the administrative\n\t    password of the cell.  Ignored if this is not a server"
possible bashism in ./src/tools/install/install_afs line 36 (echo -e):
  echo -e "\t-existingServer (or -e) name: the name of an\n\t   existing server already in the cell.  Ignored if\n\t   this is not an additional server"
possible bashism in ./src/tools/install/install_afs line 37 (echo -e):
  echo -e "\t-scriptDirectory (or -d) name: the name of the\n\t   directory containing these OpenAFS installation\n\t   scripts"
possible bashism in ./src/tools/install/install_afs line 38 (echo -e):
  echo -e "\t-krb5 (or -k): Set up Kerberos 5 authentication on this\n\t   machine.  Assumes this machine is a client of a Kerberos\n\t   realm that has the same name as the cell being created,\n\t   but all caps.  Ignored if this is not a first server."
possible bashism in ./src/tools/install/install_afs line 39 (echo -e):
  echo -e "\t-kadminPassword (or -ka) password: the administrative\n\t   password of the kerberos realm.  Ignored if the -krb5\n\t   flag is not set."
possible bashism in ./src/tools/install/install_afs line 40 (echo -e):
  echo -e "\t-noConf (or -n): Do not ask for confirmation before\n\t    performing the installation."
possible bashism in ./src/tools/install/install_afs line 41 (echo -e):
  echo -e "\thelp: Display this help dialogue"
possible bashism in ./src/tools/install/install_afs line 51 (echo -e):
    echo -e "You have already run the OpenAFS installation program.  You must uninstall OpenAFS before you install it again."
possible bashism in ./src/tools/install/install_afs line 73 (echo -e):
    echo -e No value given to $flag flag.  Use \"install_afs help\" for syntax.
possible bashism in ./src/tools/install/install_afs line 78 (echo -e):
    echo -e No value given to $flag flag.  Use \"install_afs help\" for syntax.
possible bashism in ./src/tools/install/install_afs line 106 (echo -e):
       echo -e Invalid value for -serverType flag.  Use \"install_afs help\" for syntax.
possible bashism in ./src/tools/install/install_afs line 118 (echo -e):
       echo -e Invalid value for $flag flag.  Use \"install_afs help\" for syntax.
possible bashism in ./src/tools/install/install_afs line 147 (echo -e):
  echo -ne "Provide the server type for this machine (\"first\", \"additional\", or \"not\"),\n   or hit enter to accept the default (\"first\"): "
possible bashism in ./src/tools/install/install_afs line 161 (echo -e):
    echo -e Invalid value for server type.  Please choose \"first\", \"additional\", or \"not\".
possible bashism in ./src/tools/install/install_afs line 168 (echo -e):
  echo -ne "Provide the client type for this machine (\"client\" or \"not\"), or hit enter to\n   accept the default (\"client\"): "
possible bashism in ./src/tools/install/install_afs line 180 (echo -e):
    echo -e Invalid value for client type.  Please choose \"client\" or \"not\".
possible bashism in ./src/tools/install/install_afs line 188 (echo -e):
     echo -e "This machine must be either a server or a client."
possible bashism in ./src/tools/install/install_afs line 194 (echo -e):
  echo -ne "Provide the name of the cell (in the form of cellname.domainname):\n   "
possible bashism in ./src/tools/install/install_afs line 200 (echo -e):
  echo -ne "Provide the name of this machine, or hit enter to accept the\n   default ($default): "
possible bashism in ./src/tools/install/install_afs line 212 (echo -e):
    echo -ne "Provide the name of the device on which to mount the AFS partition,\n   i.e. hda5: "
possible bashism in ./src/tools/install/install_afs line 222 (echo -e):
    echo -ne "Provide a shortcut name for your cell, or press Enter to accept the\n   default ($default): "
possible bashism in ./src/tools/install/install_afs line 236 (echo -e):
    echo -ne "Provide the name of the first server in this cell:\n   "
possible bashism in ./src/tools/install/install_afs line 244 (echo -e):
  echo -ne "Provide the directory of this installation script, or press Enter to accept\n   the default ($default): "
possible bashism in ./src/tools/install/install_afs line 255 (echo -e):
    echo -ne "Provide the administrative password of this cell: "
possible bashism in ./src/tools/install/install_afs line 259 (echo -e):
    echo -ne "Please confirm the password: "
possible bashism in ./src/tools/install/install_afs line 265 (echo -e):
      echo -e "You must give a password"
possible bashism in ./src/tools/install/install_afs line 268 (echo -e):
      echo -e "You must confirm the password"
possible bashism in ./src/tools/install/install_afs line 272 (echo -e):
      echo -e "Passwords do not match"
possible bashism in ./src/tools/install/install_afs line 280 (echo -e):
    echo -ne "Provide the administrative password of the Kerberos realm: "
possible bashism in ./src/tools/install/install_afs line 284 (echo -e):
    echo -ne "Please confirm the password: "
possible bashism in ./src/tools/install/install_afs line 290 (echo -e):
      echo -e "You must give a password"
possible bashism in ./src/tools/install/install_afs line 293 (echo -e):
      echo -e "You must confirm the password"
possible bashism in ./src/tools/install/install_afs line 297 (echo -e):
      echo -e "Passwords do not match"
possible bashism in ./src/tools/install/install_afs line 306 (echo -e):
    echo -e "Needed files in $scriptDir/afs do not exist."
possible bashism in ./src/tools/install/install_afs line 307 (echo -e):
    echo -e "Copy the following files from $existingServer to the specified locations:"
possible bashism in ./src/tools/install/install_afs line 308 (echo -e):
    echo -e "- $existingServer:/usr/afs/etc/ThisCell to $machineName:$scriptDir/afs/ThisCell"
possible bashism in ./src/tools/install/install_afs line 309 (echo -e):
    echo -e "- $existingServer:/usr/afs/etc/CellServDB to $machineName:$scriptDir/afs/CellServDB"
possible bashism in ./src/tools/install/install_afs line 310 (echo -e):
    echo -e "- $existingServer:/usr/afs/etc/KeyFile to $machineName:$scriptDir/afs/KeyFile"
possible bashism in ./src/tools/install/install_afs line 311 (echo -e):
    echo -e "- $existingServer:/usr/afs/etc/UserList to $machineName:$scriptDir/afs/UserList"
possible bashism in ./src/tools/install/install_afs line 312 (echo -e):
    echo -e "- $existingServer:/usr/vice/etc/CellServDB to $machineName:$scriptDir/vice/CellServDB"
possible bashism in ./src/tools/install/install_afs line 313 (echo -e):
    echo -e "Press Enter when ready"
possible bashism in ./src/tools/install/install_afs line 320 (echo -e):
    echo -e "Copy the following file from an existing server to the specified location:"
possible bashism in ./src/tools/install/install_afs line 321 (echo -e):
    echo -e "- CellServDB from $cellName to $machineName:$scriptDir/vice/CellServDB"
possible bashism in ./src/tools/install/install_afs line 322 (echo -e):
    echo -e "Press Enter when ready"
possible bashism in ./src/tools/install/install_afs line 327 (echo -e):
echo -e "You're about to install OpenAFS with the following configuration:"
possible bashism in ./src/tools/install/install_afs line 328 (echo -e):
echo -e "Machine name: $machineName"
possible bashism in ./src/tools/install/install_afs line 329 (echo -e):
echo -e "Cell name: $cellName"
possible bashism in ./src/tools/install/install_afs line 331 (echo -e):
  echo -e "Shortcut cell name: $shortCell"
possible bashism in ./src/tools/install/install_afs line 334 (echo -e):
  echo -e "Hard drive: $hardDrive"
possible bashism in ./src/tools/install/install_afs line 335 (echo -e):
  echo -ne "adminPassword: "
possible bashism in ./src/tools/install/install_afs line 338 (echo -e):
    echo -ne "*"
possible bashism in ./src/tools/install/install_afs line 339 ('$[' should be '$(('):
    i=$[i+1]
possible bashism in ./src/tools/install/install_afs line 343 (echo -e):
echo -e "Server: $server"
possible bashism in ./src/tools/install/install_afs line 344 (echo -e):
echo -e "Client: $client"
possible bashism in ./src/tools/install/install_afs line 346 (echo -e):
  echo -e "Existing server: $existingServer"
possible bashism in ./src/tools/install/install_afs line 348 (echo -e):
echo -e "Script directory: $scriptDir"
possible bashism in ./src/tools/install/install_afs line 351 (echo -e):
  echo -ne "Would you like to continue with the installation? "
possible bashism in ./src/tools/install/install_afs line 353 (echo -e):
    echo -ne "(y/n): "
possible bashism in ./src/tools/install/install_afs line 360 (echo -e):
      echo -e "Aborting installation"
possible bashism in ./src/tools/install/install_afs line 494 (echo -e):
    echo -e "admin 128/20 1 -204 -204\nsystem:administrators 130/20 -204 -204 -204\n   admin   1\n" | /usr/afs/bin/pt_util -p /usr/afs/db/prdb.DB0 -w
possible bashism in ./src/packaging/RedHat/openafs-kernel-version.sh line 22 (should be >word 2>&1):
if expr "$kernvers" : "kernel-" >&/dev/null
possible bashism in ./src/packaging/HP-UX/scripts/openafs.unconfigure line 12 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.unconfigure line 27 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 2 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.unconfigure line 47 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ -f $file ]];then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.postinstall line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.postinstall line 31 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -z "${SW_DEFERRED_KERNBLD}" ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.postinstall line 41 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ $? -ne 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.configure line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.configure line 32 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -n "${SW_DEFERRED_KERNBLD}" ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.configure line 42 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ $? -ne 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.unconfigure line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.unconfigure line 37 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ $? -ne 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.postremove line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.postremove line 42 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ -d $dir ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.preremove line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.preremove line 34 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -f /usr/afs/bin/bosserver ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.preinstall line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.preinstall line 35 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -f /usr/afs/bin/bosserver ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.configure line 19 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.configure line 33 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -d /usr/newconfig/usr/vice/etc && ! -f /usr/vice/etc/cacheinfo ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.configure line 42 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -f /usr/newconfig/usr/vice/etc/CellServDB && ! -f /usr/afs/etc/CellServDB ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.unconfigure line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.preinstall line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.preinstall line 37 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 0 ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.preinstall line 40 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ $? = 0 ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.checkinstall line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.checkinstall line 36 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 0 ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-eng-man.configure line 12 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-eng-man.configure line 25 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 2 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.postremove line 12 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.postremove line 34 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? != 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.postremove line 40 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? != 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.configure line 12 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.configure line 24 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 2 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs.configure line 32 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -f /usr/newconfig/sbin/init.d/afs ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs.configure line 42 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ ! -h /sbin/rc2.d/K800afs ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs.configure line 45 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ ! -h /sbin/rc2.d/S460afs ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.unconfigure line 19 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.verify line 17 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f $UTILS ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.verify line 31 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -s "$TEMP" ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.verify line 40 (alternative test command ([[ foo ]] should be [ foo ])):
  if [[ $? -ne 0 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.checkremove line 17 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f $UTILS ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-krn.checkremove line 25 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $SW_SESSION_IS_KERNEL = "TRUE" ]]; then
possible bashism in ./src/packaging/HP-UX/scripts/openafs-clnt.preremove line 18 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-eng-man.unconfigure line 12 (alternative test command ([[ foo ]] should be [ foo ])):
    if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-eng-man.unconfigure line 24 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $? = 2 ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.configure line 19 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ ! -f ${UTILS} ]]
possible bashism in ./src/packaging/HP-UX/scripts/openafs-srv.configure line 32 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ -f /sbin/lib/mfsconfig.d/afs ]]; then
possible bashism in ./src/afsweb/afswsNetscape_config.sh line 50 ($(OS|MACH)TYPE):
if [ x$OSTYPE = "xSunOS" ] ; then
possible bashism in ./src/afsweb/afswsNetscape_config.sh line 57 ($(OS|MACH)TYPE):
elif [ x$OSTYPE = "xAIX" ] ; then
possible bashism in ./src/afsweb/afswsNetscape_config.sh line 65 ($(OS|MACH)TYPE):
   $ECHO "	ERROR: unsupported OSTYPE \"$OSTYPE\" returned by /usr/bin/uname."
possible bashism in ./src/afsweb/afswsNetscape_config.sh line 95 ($HOST(TYPE|NAME)):
	tmp=`$HOSTNAME`
possible bashism in ./src/tests/afs-rmcell.sh line 3 (should be '.', not 'source'):
source OpenAFS/Dirpath.sh
possible bashism in ./src/tests/compare-with-local line 13 ('function' is useless):
function compare () {

This report was generated on Thu, 16 Dec 2010 13:38:16 +0000, based on results by checkbashisms 2.10.65git5