Debian Automated Code Analysis

checkbashisms analysis of ser_2.0.0-4.dsc

possible bashism in ./scripts/mysql/ser_mysql.sh line 213 (${foo:3[:1]}):
	if [ "${SCRIPT_DIR:0:1}" != "/" ] ; then
possible bashism in ./scripts/dbtext/ser_dbtext.sh line 183 (${foo:3[:1]}):
	if [ "${SRCDB_DIR:0:1}" != "/" ] ; then
possible bashism in ./scripts/serconf.sh line 30 ('function' is useless):
function go_to_pstn()
possible bashism in ./scripts/serconf.sh line 45 ('function' is useless):
function addr2re()
possible bashism in ./scripts/serconf.sh line 50 ('function' is useless):
function gw_check()
possible bashism in ./scripts/serconf.sh line 63 ('function' is useless):
function mine_check()
possible bashism in ./scripts/serconf.sh line 68 ('function' is useless):
function gw_m_check()
possible bashism in ./scripts/serconf.sh line 81 ('function' is useless):
function help()
possible bashism in ./scripts/serconf.sh line 98 ('function' is useless):
function usage()
possible bashism in ./scripts/serconf.sh line 105 ('function' is useless):
function load_mod()
possible bashism in ./scripts/serconf.sh line 157 (read without variable):
read
possible bashism in ./scripts/postgres/ser_postgres.sh line 113 (${foo:3[:1]}):
	if [ "${SCRIPT_DIR:0:1}" != "/" ] ; then
possible bashism in ./etc/obsoleted/sercheck line 38 ($HOST(TYPE|NAME)):
	echo "Alarm: ser restart occured on `date` at $HOSTNAME" > $TMP
possible bashism in ./etc/sr line 43 ($HOST(TYPE|NAME)):
		echo "before startup ser core found on `date` at $HOSTNAME" > $TMP
possible bashism in ./modules/tls/ser_cert.sh line 155 ($HOST(TYPE|NAME)):
$HOSTNAME
possible bashism in ./profile/launch.sh line 20 ('function' is useless):
function usage()
possible bashism in ./profile/launch.sh line 45 ('function' is useless):
function run()
possible bashism in ./profile/launch.sh line 67 ('function' is useless):
function report()
possible bashism in ./pkg/debian/postinst line 39 ('function' is useless):
function fn_config_replace 
possible bashism in ./pkg/debian/postinst line 67 (should be 'b = a'):
	if [ "$STARTPOS" == "" ]; then
possible bashism in ./pkg/debian/postinst line 73 (should be 'b = a'):
	if [ "$STARTPOS" == "" ]; then
possible bashism in ./pkg/debian/ser.init line 104 (echo -e):
	    echo -e "\nThere are errors in the configuration file. Please fix them first"
possible bashism in ./pkg/debian/ser.init line 105 (echo -e):
	    echo -e "\n$out\n"
possible bashism in ./pkg/debian/ser-oob.postinst line 38 ('function' is useless):
function fn_config_replace 
possible bashism in ./pkg/debian/ser-oob.postinst line 66 (should be 'b = a'):
	if [ "$STARTPOS" == "" ]; then
possible bashism in ./pkg/debian/ser-oob.postinst line 72 (should be 'b = a'):
	if [ "$STARTPOS" == "" ]; then
possible bashism in ./pkg/debian/postrm line 7 (should be >word 2>&1):
  deluser --quiet --remove-home ser &>/dev/null || true

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